#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#if wxUSE_TREECTRL
+
#include "wx/treebase.h"
#include "wx/settings.h"
#include "wx/log.h"
#include "wx/dynarray.h"
#include "wx/arrimpl.cpp"
#include "wx/dcclient.h"
-#include "wx/msgdlg.h"
// ----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
+
wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
: wxNotifyEvent(commandType, id)
{
- m_code = 0;
- m_itemOld = 0;
+ m_itemOld = 0l;
+ m_editCancelled = FALSE;
}
+#endif // wxUSE_TREECTRL