X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3011bf2bdce9f64a65f94ee741c9d1d163a29611..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/os2/checkbox.h diff --git a/include/wx/os2/checkbox.h b/include/wx/os2/checkbox.h index a8e7a2cb74..e03084b29b 100644 --- a/include/wx/os2/checkbox.h +++ b/include/wx/os2/checkbox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: checkbox.h +// Name: wx/os2/checkbox.h // Purpose: wxCheckBox class // Author: David Webster // Modified by: @@ -13,11 +13,10 @@ #define _WX_CHECKBOX_H_ #include "wx/control.h" - WXDLLEXPORT_DATA(extern const char*) wxCheckBoxNameStr; // Checkbox item (single checkbox) -class WXDLLEXPORT wxBitmap; -class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase +class WXDLLIMPEXP_FWD_CORE wxBitmap; +class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase { public: inline wxCheckBox() { } @@ -27,9 +26,7 @@ class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxCheckBoxNameStr ) { @@ -39,9 +36,7 @@ class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase ,rPos ,rSize ,lStyle -#if wxUSE_VALIDATORS ,rValidator -#endif ,rsName ); } @@ -52,9 +47,7 @@ class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxCheckBoxNameStr ); @@ -73,7 +66,7 @@ private: DECLARE_DYNAMIC_CLASS(wxCheckBox) }; -class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox +class WXDLLIMPEXP_CORE wxBitmapCheckBox: public wxCheckBox { public: @@ -84,9 +77,7 @@ class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxCheckBoxNameStr ) { @@ -107,9 +98,7 @@ class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxCheckBoxNameStr ); @@ -121,7 +110,7 @@ class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox private: virtual void SetLabel(const wxString& rsString) - { wxCheckBox::SetLabel(rsString); }; + { wxCheckBox::SetLabel(rsString); } DECLARE_DYNAMIC_CLASS(wxBitmapCheckBox) }; #endif