]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed #if wxUSE_TREECTRL (not in setup0.h, and not applied consistently)
authorJulian Smart <julian@anthemion.co.uk>
Sun, 19 Nov 2000 16:42:12 +0000 (16:42 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 19 Nov 2000 16:42:12 +0000 (16:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/treebase.h

index 28557edb66ce3bab46415cb5499a0e94da205bd7..c7046b2333a37d07ccb3124f646a7e8150049471 100644 (file)
@@ -20,7 +20,8 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#if wxUSE_TREECTRL
+// Not defined in setup.h so removing for now
+// #if wxUSE_TREECTRL
 
 #include "wx/control.h"
 #include "wx/event.h"
 
 #include "wx/control.h"
 #include "wx/event.h"
@@ -282,7 +283,7 @@ typedef void (wxEvtHandler::*wxTreeEventFunction)(wxTreeEvent&);
 #define EVT_TREE_ITEM_RIGHT_CLICK(id, fn) { wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTreeEventFunction) & fn, NULL },
 #define EVT_TREE_ITEM_MIDDLE_CLICK(id, fn) { wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTreeEventFunction) & fn, NULL },
 
 #define EVT_TREE_ITEM_RIGHT_CLICK(id, fn) { wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTreeEventFunction) & fn, NULL },
 #define EVT_TREE_ITEM_MIDDLE_CLICK(id, fn) { wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTreeEventFunction) & fn, NULL },
 
-#endif // wxUSE_TREECTRL
+// #endif // wxUSE_TREECTRL
 
 #endif
     // _WX_TREEBASE_H_
 
 #endif
     // _WX_TREEBASE_H_