]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/treebase.cpp
MSW compilation fixes - widgets sample runs!
[wxWidgets.git] / src / common / treebase.cpp
index 0096e023eae53595b861f5e76733e42ed00d33ad..ddd3c5575d6472f24e2e2bf5625cb91a4263d306 100644 (file)
 #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"
@@ -74,3 +76,5 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
     m_itemOld = 0l;
 }
 
     m_itemOld = 0l;
 }
 
+#endif // wxUSE_TREECTRL
+