Make wxTreeListEvent dynamically creatable.

This is unfortunately required by wxEvent::Clone() support unit test so
provide the default ctor in this class even though it doesn't make any sense
in normal use.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-10-31 19:41:06 +00:00
parent 824216af78
commit f81ccc1148
2 changed files with 14 additions and 5 deletions

View File

@@ -1654,7 +1654,7 @@ wxWindow* wxTreeListCtrl::GetView() const
// wxTreeListEvent implementation
// ============================================================================
wxIMPLEMENT_ABSTRACT_CLASS(wxTreeListEvent, wxNotifyEvent)
wxIMPLEMENT_DYNAMIC_CLASS(wxTreeListEvent, wxNotifyEvent)
#define wxDEFINE_TREELIST_EVENT(name) \
wxDEFINE_EVENT(wxEVT_COMMAND_TREELIST_##name, wxTreeListEvent)