X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b910a8add446261996bc8d22e6545e6bdb373b8b:/include/wx/gtk1/combobox.h diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 1273258fad..a3a3d2a178 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: combobox.h +// Name: wx/gtk1/combobox.h // Purpose: // Author: Robert Roebling // Created: 01/02/97 @@ -27,7 +27,7 @@ class WXDLLIMPEXP_CORE wxComboBox; // global data //----------------------------------------------------------------------------- -extern WXDLLIMPEXP_CORE const wxChar* wxComboBoxNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[]; extern WXDLLIMPEXP_BASE const wxChar* wxEmptyString; //----------------------------------------------------------------------------- @@ -83,15 +83,12 @@ public: void Clear(); void Delete( int n ); - virtual int FindString( const wxString &item ) const; + virtual int FindString(const wxString& s, bool bCase = false) const; int GetSelection() const; -#if wxABI_VERSION >= 20602 int GetCurrentSelection() const; -#endif wxString GetString( int n ) const; wxString GetStringSelection() const; - int GetCount() const; - int Number() const { return GetCount(); } + virtual size_t GetCount() const; void SetSelection( int n ); void SetString(int n, const wxString &text);