X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..25474dcaded8b33e5e21512616b52a3d196d5015:/include/wx/checkbox.h diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index c8a126923e..a011252b43 100644 --- a/include/wx/checkbox.h +++ b/include/wx/checkbox.h @@ -12,6 +12,8 @@ #ifndef _WX_CHECKBOX_H_BASE_ #define _WX_CHECKBOX_H_BASE_ +#include "wx/defs.h" + #if wxUSE_CHECKBOX #include "wx/control.h" @@ -25,11 +27,16 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr; class WXDLLEXPORT wxCheckBoxBase : public wxControl { public: + wxCheckBoxBase() { } + // set/get the checked status of the listbox virtual void SetValue(bool value) = 0; virtual bool GetValue() const = 0; bool IsChecked() const { return GetValue(); } + +private: + DECLARE_NO_COPY_CLASS(wxCheckBoxBase) }; #if defined(__WXUNIVERSAL__)