X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da89830af414f55a37a211293cdb81958d478aa6..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/msw/choice.h 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);