]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/taskbar/tbtest.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / samples / taskbar / tbtest.h
index 142ce5d237fe6ccb2df88cf5a098033a616acb96..64e141f546464b1afd7ad2f5be17cab3067ab73f 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c)
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 class MyTaskBarIcon: public wxTaskBarIcon
 {
 public:
-       MyTaskBarIcon() {};
+    MyTaskBarIcon() {};
 
     virtual void OnMouseMove(wxEvent&);
     virtual void OnLButtonDown(wxEvent&);
@@ -22,8 +22,9 @@ public:
     virtual void OnLButtonDClick(wxEvent&);
     virtual void OnRButtonDClick(wxEvent&);
 
-    void OnMenuRestore(wxEvent&);
-    void OnMenuExit(wxEvent&);
+    void OnMenuRestore(wxCommandEvent&);
+    void OnMenuExit(wxCommandEvent&);
+    void OnMenuSetNewIcon(wxCommandEvent&);
 
 DECLARE_EVENT_TABLE()
 };