X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84b2e3765d7781e91b62be7c714d92bc286a67c7..419a3607032dc850b5045c622e3f10caa9e1cf91:/include/wx/checkbox.h diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 0fa2516ca3..96e7c8679d 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