Use wxControl as wxComboBox base class for wxRTTI in all ports.
wxComboBox only derives from wxChoice in wxMSW but not in the other ports so use wxControl as its base class in wxIMPLEMENT_DYNAMIC_CLASS_XTI() macro in all ports. See #12841. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,11 +81,7 @@ wxFLAGS_MEMBER(wxCB_DROPDOWN)
|
||||
|
||||
wxEND_FLAGS( wxComboBoxStyle )
|
||||
|
||||
#ifdef __WXUNIVERSAL__
|
||||
wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxComboBox, wxControl, "wx/combobox.h")
|
||||
#else
|
||||
wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxComboBox, wxChoice, "wx/combobox.h")
|
||||
#endif
|
||||
|
||||
wxBEGIN_PROPERTIES_TABLE(wxComboBox)
|
||||
wxEVENT_PROPERTY( Select, wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEvent )
|
||||
|
Reference in New Issue
Block a user