X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/gtk1/choice.h?ds=sidebyside diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index f7362610be..5b0526a275 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: choice.h +// Name: wx/gtk/choice.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -66,13 +66,11 @@ public: void Clear(); int GetSelection() const; -#if wxABI_VERSION >= 20602 int GetCurrentSelection() const { return GetSelection(); } -#endif void SetSelection( int n ); virtual int GetCount() const; - int FindString( const wxString& string ) const; + virtual int FindString(const wxString& s, bool bCase = false) const; wxString GetString( int n ) const; void SetString( int n, const wxString& string ); @@ -104,8 +102,8 @@ private: wxSortedArrayString *m_strings; public: - // this circumvents a GTK+ 2.0 bug so that the selection is - // invalidated properly + // this circumvents a GTK+ 2.0 bug so that the selection is + // invalidated properly int m_selection_hack; private: