]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/treebase.cpp
don't try to translate the standard encoding names
[wxWidgets.git] / src / common / treebase.cpp
index 0096e023eae53595b861f5e76733e42ed00d33ad..0a49f60cf8dd18cbef47bacc7085513c699d7f0c 100644 (file)
 #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"
@@ -67,6 +69,7 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG)
 
 IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
 
+
 wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
            : wxNotifyEvent(commandType, id)
 {
@@ -74,3 +77,5 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
     m_itemOld = 0l;
 }
 
+#endif // wxUSE_TREECTRL
+