// implementation of wxListBox
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase)
EVT_SIZE(wxListBox::OnSize)
validator, name) )
return false;
- m_strings = IsSorted() ? new wxArrayString : new wxSortedArrayString;
+ m_strings = IsSorted() ? new wxSortedArrayString : new wxArrayString;
Set(n, choices);