/////////////////////////////////////////////////////////////////////////////
-// Name: listbox.h
+// Name: wx/mac/classic/listbox.h
// Purpose: wxListBox class
// Author: Stefan Csomor
// Modified by:
#ifndef _WX_LISTBOX_H_
#define _WX_LISTBOX_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "listbox.h"
-#endif
-
// ----------------------------------------------------------------------------
// simple types
// ----------------------------------------------------------------------------
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);
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 SetSelection(int n, bool select = TRUE);
+ virtual void DoSetSelection(int n, bool select);
virtual int GetSelection() const;
virtual int GetSelections(wxArrayInt& aSelections) const;
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;