X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da89830af414f55a37a211293cdb81958d478aa6..df53be12c55c077d9c2e1c479a1552188638495c:/include/wx/msw/choice.h?ds=sidebyside diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index 5ddb312b11..c5cf8125be 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -77,6 +77,14 @@ public: virtual wxString GetString(unsigned int n) const; virtual void SetString(unsigned int n, const wxString& s); + virtual wxVisualAttributes GetDefaultAttributes() const + { + return GetClassDefaultAttributes(GetWindowVariant()); + } + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // MSW only virtual bool MSWCommand(WXUINT param, WXWORD id); WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);