X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6179a847d8899cceb8880abc2ab2fe9d0244c90..60ff2335c460dd590da1d04a7301324102f54a0e:/include/wx/mac/classic/listbox.h?ds=sidebyside diff --git a/include/wx/mac/classic/listbox.h b/include/wx/mac/classic/listbox.h index 14258cf11c..67a7e895eb 100644 --- a/include/wx/mac/classic/listbox.h +++ b/include/wx/mac/classic/listbox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: listbox.h +// Name: wx/mac/classic/listbox.h // Purpose: wxListBox class // Author: Stefan Csomor // Modified by: @@ -13,10 +13,6 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "listbox.h" -#endif - // ---------------------------------------------------------------------------- // simple types // ---------------------------------------------------------------------------- @@ -86,7 +82,7 @@ public: virtual ~wxListBox(); virtual void Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL); - + // implement base class pure virtuals virtual void Clear(); virtual void Delete(int n); @@ -94,7 +90,7 @@ public: virtual int GetCount() const; virtual wxString GetString(int n) const; virtual void SetString(int n, const wxString& s); - virtual int FindString(const wxString& s) const; + virtual int FindString(const wxString& s, bool bCase = false) const; virtual bool IsSelected(int n) const; virtual void DoSetSelection(int n, bool select); @@ -157,7 +153,7 @@ protected: bool HasMultipleSelection() const; // free memory (common part of Clear() and dtor) - // prevent collision with some BSD definitions of macro Free() + // prevent collision with some BSD definitions of macro Free() void FreeData(); int m_noItems;