]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebase.h
Applied patch for wxComboBox and wxListBox to
[wxWidgets.git] / include / wx / treebase.h
index 1ef4de314a06570b1b63af960a463f42bf973f0c..8d62734468d329b03a3e80f708f87f88ca6c221e 100644 (file)
@@ -20,8 +20,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-// Not defined in setup.h so removing for now
-// #if wxUSE_TREECTRL
+#if wxUSE_TREECTRL
 
 #include "wx/control.h"
 #include "wx/event.h"
@@ -302,9 +301,8 @@ END_DECLARE_EVENT_TYPES()
 #define EVT_TREE_ITEM_RIGHT_CLICK(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTreeEventFunction) & fn, NULL ),
 #define EVT_TREE_ITEM_MIDDLE_CLICK(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTreeEventFunction) & fn, NULL ),
 
-// #endif // wxUSE_TREECTRL
+#endif // wxUSE_TREECTRL
 
 #endif
     // _WX_TREEBASE_H_
 
-