title: Windows taskbar icon event type - WxPython Phoenix
body: <p>I am trying to find the event type associated with windows taskbar icon of my application. In Windows 8.1 user can close, minimize and restore the application from this icon.</p>
  
  <p><img src="https://i.stack.imgur.com/h6XOC.png" alt="taskbar sample icons"></p>
  
  <p>Google is only showing the results for taskbar <em>tray</em> icons, which is a whole different thing. So far I've tried these:</p>
  
  <pre><code>wx.EVT_CLOSE    # This event is not generated for taskbar closing
  wx.EVT_RESTORE  # This event is not generated either
  </code></pre>
  
  <p>Yet, it does close the application and it also manages to restore an iconized application. I made two separate handlers to check this. They are working when I use the titlebar buttons (close and min/maximize buttons), but not when done from the taskbar.</p>