/////////////////////////////////////////////////////////////////////////////
-// Name: checkbox.h
+// Name: wx/os2/checkbox.h
// Purpose: wxCheckBox class
// Author: David Webster
// Modified by:
#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() { }
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxCheckBoxNameStr
)
{
,rPos
,rSize
,lStyle
-#if wxUSE_VALIDATORS
,rValidator
-#endif
,rsName
);
}
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxCheckBoxNameStr
);
DECLARE_DYNAMIC_CLASS(wxCheckBox)
};
-class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox
+class WXDLLIMPEXP_CORE wxBitmapCheckBox: public wxCheckBox
{
public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxCheckBoxNameStr
)
{
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxCheckBoxNameStr
);
private:
virtual void SetLabel(const wxString& rsString)
- { wxCheckBox::SetLabel(rsString); };
+ { wxCheckBox::SetLabel(rsString); }
DECLARE_DYNAMIC_CLASS(wxBitmapCheckBox)
};
#endif