X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..71908213057690d5452f72b2b9c8e62b53357170:/include/wx/gtk1/combobox.h diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 129321d3a4..8e2b81b6b1 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -86,6 +86,7 @@ public: int GetSelection() const; wxString GetString( int n ) const; wxString GetStringSelection() const; + int GetCount() const { return Number(); } int Number() const; void SetSelection( int n ); void SetStringSelection( const wxString &string ); @@ -121,6 +122,9 @@ public: bool IsOwnGtkWindow( GdkWindow *window ); void ApplyWidgetStyle(); +protected: + virtual wxSize DoGetBestSize() const; + private: DECLARE_DYNAMIC_CLASS(wxComboBox) DECLARE_EVENT_TABLE()