X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcfb179bc7626b810b5dc589bd5db0e2bae0e8fb..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/univ/combobox.h?ds=inline diff --git a/include/wx/univ/combobox.h b/include/wx/univ/combobox.h index afccb74711..5ef092afbd 100644 --- a/include/wx/univ/combobox.h +++ b/include/wx/univ/combobox.h @@ -83,6 +83,8 @@ public: // called immediately after the control is shown virtual void OnShow() = 0; + virtual wxCoord GetBestWidth() const {return 0; } + protected: wxComboControl *m_combo; }; @@ -160,6 +162,10 @@ public: virtual bool Enable(bool enable = TRUE); virtual bool Show(bool show = TRUE); +#if wxUSE_TOOLTIPS + virtual void DoSetToolTip( wxToolTip *tip ); +#endif // wxUSE_TOOLTIPS + protected: // override the base class virtuals involved into geometry calculations virtual wxSize DoGetBestClientSize() const; @@ -324,6 +330,7 @@ public: protected: virtual int DoAppend(const wxString& item); + virtual int DoInsert(const wxString& item, int pos); virtual void DoSetItemClientData(int n, void* clientData); virtual void* DoGetItemClientData(int n) const; virtual void DoSetItemClientObject(int n, wxClientData* clientData);