X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7bfef380642a8afd3606ac1e6835bb3fb475051..a4e3249255361245b5a4bc746e40374f2186439e:/include/wx/msw/combobox.h diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index e96d4d95c4..8339b4cb0c 100644 --- a/include/wx/msw/combobox.h +++ b/include/wx/msw/combobox.h @@ -116,6 +116,11 @@ public: virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; +#if wxUSE_UXTHEME + // override wxTextEntry method to work around Windows bug + virtual bool SetHint(const wxString& hint); +#endif // wxUSE_UXTHEME + protected: #if wxUSE_TOOLTIPS virtual void DoSetToolTip(wxToolTip *tip); @@ -136,8 +141,9 @@ protected: } private: - // this is the overridden wxTextEntry method which should only be called - // when we do have an edit control so it asserts if this is not the case + // there are the overridden wxTextEntry methods which should only be called + // when we do have an edit control so they assert if this is not the case + virtual wxWindow *GetEditableWindow(); virtual WXHWND GetEditHWND() const; // common part of all ctors