]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/gizmos/statpict.h
disable the first top level parent, not the topmost top level parent
[wxWidgets.git] / contrib / include / wx / gizmos / statpict.h
index 942d6d2b6b864da7146e6eb13fe64f6a52816b88..d488a99201074aa0e3f26801a0c8be73f5fe22b3 100644 (file)
@@ -57,8 +57,8 @@ public:
         long style = 0,
         const wxString& name = wxStaticPictureNameStr );
 
-    virtual void Command(wxCommandEvent& WXUNUSED(event)) {};
-    virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};
+    virtual void Command(wxCommandEvent& WXUNUSED(event)) {}
+    virtual bool ProcessCommand(wxCommandEvent& WXUNUSED(event)) {return true;}
     void OnPaint(wxPaintEvent& event);
 
     void SetBitmap( const wxBitmap& bmp );
@@ -109,7 +109,7 @@ public:
         ScaleY = sy;
     }
 
-    int GetCustomScale( float* sx, float* sy ) const
+    void GetCustomScale( float* sx, float* sy ) const
     {
         *sx = ScaleX;
         *sy = ScaleY;