X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed2ec17c5425cef5590a69445234506c82af1c38..7aa5864467bf0bb220fdc447876f13f178ae8f35:/src/common/treebase.cpp diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index a9dce6dddb..ddd3c5575d 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" @@ -71,7 +73,8 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) : wxNotifyEvent(commandType, id) { m_code = 0; - m_itemOld = 0; + m_itemOld = 0l; } +#endif // wxUSE_TREECTRL