X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51d673384e4ebe86f14beadeafc6853beff48116..9cf99fc093f9c45b6b5d8d8b357699d826c9916a:/src/common/treebase.cpp?ds=sidebyside diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 0096e023ea..dfa45202e5 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -25,9 +25,11 @@ #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" @@ -65,8 +67,6 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG) // Tree event // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent) - wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) : wxNotifyEvent(commandType, id) { @@ -74,3 +74,5 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) m_itemOld = 0l; } +#endif // wxUSE_TREECTRL +