projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't mention GUI-only changes in the base section
[wxWidgets.git]
/
src
/
common
/
treebase.cpp
diff --git
a/src/common/treebase.cpp
b/src/common/treebase.cpp
index 0096e023eae53595b861f5e76733e42ed00d33ad..6bf725823f8ebaee1c6adcaae6df23a7688e9899 100644
(file)
--- a/
src/common/treebase.cpp
+++ b/
src/common/treebase.cpp
@@
-25,9
+25,11
@@
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+
#pragma hdrstop
#endif
#endif
+#if wxUSE_TREECTRL
+
#include "wx/treebase.h"
#include "wx/settings.h"
#include "wx/log.h"
#include "wx/treebase.h"
#include "wx/settings.h"
#include "wx/log.h"
@@
-67,10
+69,13
@@
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG)
IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
+
wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
: wxNotifyEvent(commandType, id)
{
wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
: wxNotifyEvent(commandType, id)
{
- m_code = 0;
m_itemOld = 0l;
m_itemOld = 0l;
+ m_editCancelled = FALSE;
}
}
+#endif // wxUSE_TREECTRL
+