X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/336a6aba60f239bfc33650ffe97702494940a4f6..ea6cbf486a3be57fd10283b3cd65a34e193d3d6c:/include/wx/mac/carbon/checkbox.h diff --git a/include/wx/mac/carbon/checkbox.h b/include/wx/mac/carbon/checkbox.h index 7dcfeb8f9b..981a66b7cc 100644 --- a/include/wx/mac/carbon/checkbox.h +++ b/include/wx/mac/carbon/checkbox.h @@ -12,12 +12,8 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "checkbox.h" -#endif - // Checkbox item (single checkbox) -class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase +class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase { public: wxCheckBox() { } @@ -38,17 +34,18 @@ public: virtual void SetValue(bool); virtual bool GetValue() const; - void DoSet3StateValue(wxCheckBoxState val); - virtual wxCheckBoxState DoGet3StateValue() const; - virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; virtual void Command(wxCommandEvent& event); +protected: + void DoSet3StateValue(wxCheckBoxState val); + virtual wxCheckBoxState DoGet3StateValue() const; + DECLARE_DYNAMIC_CLASS(wxCheckBox) }; -class WXDLLEXPORT wxBitmap; -class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox +class WXDLLIMPEXP_FWD_CORE wxBitmap; +class WXDLLIMPEXP_CORE wxBitmapCheckBox: public wxCheckBox { public: int checkWidth;