git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11158
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
// List box item
WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
// List box item
-class WXDLLEXPORT wxListBox: public wxControlWithItems
+class WXDLLEXPORT wxListBox: public wxListBoxBase
{
DECLARE_DYNAMIC_CLASS(wxListBox)
{
DECLARE_DYNAMIC_CLASS(wxListBox)
// For single or multiple choice list item
virtual int GetSelections(wxArrayInt& aSelections) const;
// For single or multiple choice list item
virtual int GetSelections(wxArrayInt& aSelections) const;
- virtual bool Selected(int n) const ;
+ virtual bool IsSelected(int n) const ;
virtual wxString GetString(int n) const ;
// Set the specified item at the first visible item
virtual wxString GetString(int n) const ;
// Set the specified item at the first visible item
-bool wxListBox::Selected(int N) const
+bool wxListBox::IsSelected(int N) const
{
// In Motif, no simple way to determine if the item is selected.
wxArrayInt theSelections;
{
// In Motif, no simple way to determine if the item is selected.
wxArrayInt theSelections;