X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..9b6ae4506e8279a5ae5d00972aa494a32f64bec0:/include/wx/msw/checkbox.h diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 57603fc9a0..c15b226eda 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -12,7 +12,7 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif @@ -45,16 +45,18 @@ public: virtual void SetValue(bool value); virtual bool GetValue() const; - virtual void SetLabel(const wxString& label); - virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); protected: virtual wxSize DoGetBestSize() const; + virtual WXHBRUSH MSWGetDefaultBgBrush(); + + virtual void DoSet3StateValue(wxCheckBoxState value); + virtual wxCheckBoxState DoGet3StateValue() const; private: - DECLARE_DYNAMIC_CLASS(wxCheckBox) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxCheckBox) }; #endif