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:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user