X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9e4acc5197ac49259b9a39468c5931b4459d87f..90d26317f7613d64c81a5b09b578c5144c2bab1b:/include/wx/checkbox.h diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 510619aa00..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,6 +49,8 @@ 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" #endif