/////////////////////////////////////////////////////////////////////////////
-// Name: listbox.h
+// Name: wx/os2/listbox.h
// Purpose: wxListBox class
// Author: David Webster
// Modified by:
// ----------------------------------------------------------------------------
#if wxUSE_OWNER_DRAWN
- class WXDLLEXPORT wxOwnerDrawn;
+ class WXDLLEXPORT wxOwnerDrawn;
- // define the array of list box items
- #include <wx/dynarray.h>
+ // define the array of list box items
+ #include <wx/dynarray.h>
- WX_DEFINE_EXPORTED_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray);
+ WX_DEFINE_EXPORTED_ARRAY_PTR(wxOwnerDrawn *, wxListBoxItemsArray);
#endif // wxUSE_OWNER_DRAWN
// forward decl for GetSelections()
virtual int GetCount(void) const;
virtual wxString GetString(int n) const;
- virtual void SetString( int n
- ,const wxString& rsString
- );
- virtual int FindString(const wxString& rsString) const;
+ virtual void SetString(int n, const wxString& rsString);
virtual bool IsSelected(int n) const;
virtual void DoSetSelection( int n