X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220..349efbaa89b499557d9a26320bcbd9b012aac9d2:/include/wx/os2/checkbox.h diff --git a/include/wx/os2/checkbox.h b/include/wx/os2/checkbox.h index c3fc2e2513..6079d5f80a 100644 --- a/include/wx/os2/checkbox.h +++ b/include/wx/os2/checkbox.h @@ -18,10 +18,8 @@ WXDLLEXPORT_DATA(extern const char*) wxCheckBoxNameStr; // Checkbox item (single checkbox) class WXDLLEXPORT wxBitmap; -class WXDLLEXPORT wxCheckBox: public wxControl +class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase { - DECLARE_DYNAMIC_CLASS(wxCheckBox) - public: inline wxCheckBox() { } inline wxCheckBox(wxWindow *parent, wxWindowID id, const wxString& label, @@ -53,7 +51,9 @@ class WXDLLEXPORT wxCheckBox: public wxControl WXUINT message, WXWPARAM wParam, WXLPARAM lParam); protected: - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; +private: + DECLARE_DYNAMIC_CLASS(wxCheckBox) }; class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox