]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Changed the "delete win" to the more proper "win->Destroy()" in
[wxWidgets.git] / src / msw / treectrl.cpp
index cbecafa355f5261000db5a02b3ae827c16466f1f..7fcab3a9a81f10dc2cef5467cb3cd97a5db9c00a 100644 (file)
@@ -939,7 +939,7 @@ bool wxTreeCtrl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, WXLPARAM *result)
 // Tree event
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxCommandEvent)
+IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
 
 wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
            : wxNotifyEvent(commandType, id)