]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/collpaneg.cpp
fixing screen coordinate transformation
[wxWidgets.git] / src / generic / collpaneg.cpp
index 0afc81416e6bf70cb909069df85fa010141eea66..5a971e99a98408a4bf4fc9967782839743fba264 100644 (file)
@@ -45,7 +45,7 @@ const char wxCollapsiblePaneNameStr[] = "collapsiblePane";
 // wxGenericCollapsiblePane
 //-----------------------------------------------------------------------------
 
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_COLLPANE_CHANGED)
+wxDEFINE_EVENT( wxEVT_COMMAND_COLLPANE_CHANGED, wxCollapsiblePaneEvent )
 IMPLEMENT_DYNAMIC_CLASS(wxGenericCollapsiblePane, wxControl)
 IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneEvent, wxCommandEvent)