- // Nudge wxWidgets into destroying the dialog, since
- // with a hidden window no messages will get sent to put
- // it into idle processing.
- wxGetApp().ProcessIdle();
+void MyTaskBarIcon::OnMenuCheckmark(wxCommandEvent& )
+{
+ check =!check;
+}
+void MyTaskBarIcon::OnMenuUICheckmark(wxUpdateUIEvent &event)
+{
+ event.Check( check );