X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..8b0f8432d72fc44aa7247ab1c19c04103323feea:/include/wx/checkbox.h diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 7b59f05211..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__) @@ -40,14 +47,12 @@ public: #include "wx/motif/checkbox.h" #elif defined(__WXGTK__) #include "wx/gtk/checkbox.h" -#elif defined(__WXQT__) - #include "wx/qt/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