]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/button.h
added wxDisplay::GetClientArea() (currently implemented for single display and MSW...
[wxWidgets.git] / include / wx / univ / button.h
index 7f271da14c355efabb7f9a714bfe1f3ced5dc106..8e626cb137e260f32ca643eaa2720f4e5dd461a8 100644 (file)
@@ -100,17 +100,18 @@ public:
     virtual void Release();
     virtual void Click();
 
-protected:
     virtual bool PerformAction(const wxControlAction& action,
                                long numArg = -1,
                                const wxString& strArg = wxEmptyString);
+
+    virtual bool CanBeHighlighted() const { return true; }
+
+protected:
     virtual wxSize DoGetBestClientSize() const;
     
     virtual bool DoDrawBackground(wxDC& dc);
     virtual void DoDraw(wxControlRenderer *renderer);
 
-    virtual bool CanBeHighlighted() const { return true; }
-
     // common part of all ctors
     void Init();