make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include "wx/arrstr.h"
|
||||
#endif
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
|
||||
|
||||
BEGIN_EVENT_TABLE(wxChoice, wxComboBox)
|
||||
EVT_COMBOBOX(wxID_ANY, wxChoice::OnComboBox)
|
||||
|
||||
@@ -97,7 +97,7 @@ protected:
|
||||
// implementation of wxListBox
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
|
||||
|
||||
BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase)
|
||||
EVT_SIZE(wxListBox::OnSize)
|
||||
|
||||
Reference in New Issue
Block a user