X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c75d8baf987c83e231c981d07b5a9217d711361..220bfe1596238999c60b810fcf0b86b74ed37e0b:/include/wx/msw/choice.h?ds=inline diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index 20d8edb5fd..4f28ec07c2 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -16,7 +16,7 @@ // Choice item // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxChoice : public wxChoiceBase +class WXDLLIMPEXP_CORE wxChoice : public wxChoiceBase { public: // ctors @@ -66,6 +66,8 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr); + virtual void SetLabel(const wxString& label); + virtual unsigned int GetCount() const; virtual int GetSelection() const; virtual int GetCurrentSelection() const; @@ -86,6 +88,9 @@ public: virtual bool CanApplyThemeBorder() const { return false; } protected: + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + // common part of all ctors void Init() { m_lastAcceptedSelection = wxID_NONE; }