fixed wxListBox inheritance

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-07-22 20:05:15 +00:00
parent 24176f2c11
commit d7d38ea412
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ class WXDLLEXPORT wxArrayInt;
WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
// List box item
class WXDLLEXPORT wxListBox: public wxControlWithItems
class WXDLLEXPORT wxListBox: public wxListBoxBase
{
DECLARE_DYNAMIC_CLASS(wxListBox)
@@ -87,7 +87,7 @@ public:
// 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

View File

@@ -414,7 +414,7 @@ void wxListBox::SetSelection(int N, bool select)
m_inSetValue = FALSE;
}
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;