X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..52f2f7b2c15e10eec1607bee683e575e898bf0d8:/include/wx/msw/checkbox.h diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 57603fc9a0..da3df7f80a 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 void DoSet3StateValue(wxCheckBoxState value); + + virtual wxCheckBoxState DoGet3StateValue() const; + private: - DECLARE_DYNAMIC_CLASS(wxCheckBox) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxCheckBox) }; #endif