X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f048e32fcd5260f33fbebdafbe1a0deeda175419..e81a301cbdc8729b0a71fa5dfd7124bf59368673:/include/wx/msw/checkbox.h diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 2dc291ebb9..97cf1d32b5 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: checkbox.h +// Name: wx/msw/checkbox.h // Purpose: wxCheckBox class // Author: Julian Smart // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_CHECKBOX_H_ @@ -16,16 +16,10 @@ #pragma interface "checkbox.h" #endif -#include "wx/control.h" - -WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr; - // Checkbox item (single checkbox) class WXDLLEXPORT wxBitmap; -class WXDLLEXPORT wxCheckBox : public wxControl +class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase { -DECLARE_DYNAMIC_CLASS(wxCheckBox) - public: wxCheckBox() { } wxCheckBox(wxWindow *parent, wxWindowID id, const wxString& label, @@ -52,6 +46,9 @@ public: protected: virtual wxSize DoGetBestSize() const; + +private: + DECLARE_DYNAMIC_CLASS(wxCheckBox) }; class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox @@ -80,5 +77,6 @@ public: virtual void SetLabel(const wxBitmap& bitmap); }; + #endif // _WX_CHECKBOX_H_