X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32c1cda24418c225fa2cff4b1416f7a3d62c88b1..7140577b50f951b356cd07393fe970e76eeee88d:/include/wx/msw/checkbox.h diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 90e5625119..2dc291ebb9 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -49,13 +49,9 @@ public: virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void SetLabel(const wxString& label); virtual void Command(wxCommandEvent& event); - virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); protected: - virtual void DoSetSize(int x, int y, - int width, int height, - int sizeFlags = wxSIZE_AUTO); + virtual wxSize DoGetBestSize() const; }; class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox @@ -82,15 +78,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxCheckBoxNameStr); - virtual void SetValue(bool value); - virtual bool GetValue() const ; - virtual void SetLabel(const wxBitmap& bitmap); - -protected: - virtual void DoSetSize(int x, int y, - int width, int height, - int sizeFlags = wxSIZE_AUTO); }; #endif // _WX_CHECKBOX_H_