X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e711d5c093dcc758e3f1670caf845612ea9fa92..1981118d4bcd47bdbe4de66aba3e5db6368c7517:/include/wx/checkbox.h diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 5b43a6af37..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__) @@ -42,10 +49,10 @@ public: #include "wx/gtk/checkbox.h" #elif defined(__WXMAC__) #include "wx/mac/checkbox.h" +#elif defined(__WXCOCOA__) + #include "wx/cocoa/checkbox.h" #elif defined(__WXPM__) #include "wx/os2/checkbox.h" -#elif defined(__WXSTUBS__) - #include "wx/stubs/checkbox.h" #endif #endif // wxUSE_CHECKBOX