-
-void MyTaskBarIcon::OnRButtonDown(wxEvent&)
-{
-}
-
-void MyTaskBarIcon::OnRButtonUp(wxEvent&)
-{
- wxMenu menu;
-
- menu.Append(PU_RESTORE, _T("&Restore TBTest"));
-#ifdef __WXMSW__
- menu.Append(PU_NEW_ICON,_T("&Set New Icon"));
-#endif
- menu.Append(PU_EXIT, _T("E&xit"));
-
- PopupMenu(&menu);
-}
-
-void MyTaskBarIcon::OnLButtonDClick(wxEvent&)
-{
- dialog->Show(TRUE);
-}
-
-void MyTaskBarIcon::OnRButtonDClick(wxEvent&)
-{
-}
-
-
-
-