X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75004dfbe5feb58ee30ae9f136daa08cf3869f6b..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/msw/choice.h diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index e069ec2a48..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); @@ -135,6 +143,9 @@ protected: // free all memory we have (used by Clear() and dtor) void Free(); + // set the height for simple combo box + int SetHeightSimpleComboBox(int nItems) const; + #if wxUSE_DEFERRED_SIZING virtual void MSWEndDeferWindowPos(); #endif // wxUSE_DEFERRED_SIZING