X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c4d503ecd57835502fb1bbd13a71cb99019d0..77436c4cbac2269e564dc4fcf4494a58feca0af4:/include/wx/os2/button.h?ds=inline diff --git a/include/wx/os2/button.h b/include/wx/os2/button.h index ed2c8a8f40..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, @@ -60,6 +59,8 @@ protected: bool SendClickEvent(); virtual wxSize DoGetBestSize() const; +private: + DECLARE_DYNAMIC_CLASS(wxButton) }; #endif