]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/treebase.cpp
don't report setlocale failure if trying to set Unicode-only language
[wxWidgets.git] / src / common / treebase.cpp
index dfa45202e5f962508fc258cf487b291ab86a0898..656da196ac33832e7294e9dc444cc5f0a3cdf671 100644 (file)
@@ -37,7 +37,6 @@
 #include "wx/dynarray.h"
 #include "wx/arrimpl.cpp"
 #include "wx/dcclient.h"
-#include "wx/msgdlg.h"
 
 
 // ----------------------------------------------------------------------------
@@ -67,11 +66,14 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG)
 // Tree event
 // ----------------------------------------------------------------------------
 
+IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
+
+
 wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
            : wxNotifyEvent(commandType, id)
 {
-    m_code = 0;
     m_itemOld = 0l;
+    m_editCancelled = FALSE;
 }
 
 #endif // wxUSE_TREECTRL