X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/include/wx/os2/button.h?ds=sidebyside diff --git a/include/wx/os2/button.h b/include/wx/os2/button.h index 2626a0aa9c..5330bcfb8f 100644 --- a/include/wx/os2/button.h +++ b/include/wx/os2/button.h @@ -17,9 +17,8 @@ WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; // Pushbutton -class WXDLLEXPORT wxButton: public wxControl +class WXDLLEXPORT wxButton: public wxButtonBase { - DECLARE_DYNAMIC_CLASS(wxButton) public: inline wxButton() {} inline wxButton(wxWindow *parent, wxWindowID id, const wxString& label, @@ -59,7 +58,9 @@ protected: // send a notification event, return TRUE if processed bool SendClickEvent(); - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; +private: + DECLARE_DYNAMIC_CLASS(wxButton) }; #endif