X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84b2e3765d7781e91b62be7c714d92bc286a67c7..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/checkbox.h?ds=sidebyside diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 0fa2516ca3..e471358b21 100644 --- a/include/wx/checkbox.h +++ b/include/wx/checkbox.h @@ -49,13 +49,13 @@ enum wxCheckBoxState }; -extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[]; +extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[]; // ---------------------------------------------------------------------------- // wxCheckBox: a control which shows a label and a box which may be checked // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxCheckBoxBase : public wxControl +class WXDLLIMPEXP_CORE wxCheckBoxBase : public wxControl { public: wxCheckBoxBase() { } @@ -118,6 +118,9 @@ public: } protected: + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + virtual void DoSet3StateValue(wxCheckBoxState WXUNUSED(state)) { wxFAIL; } virtual wxCheckBoxState DoGet3StateValue() const @@ -141,7 +144,7 @@ private: #elif defined(__WXGTK__) #include "wx/gtk1/checkbox.h" #elif defined(__WXMAC__) - #include "wx/mac/checkbox.h" + #include "wx/osx/checkbox.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/checkbox.h" #elif defined(__WXPM__)