X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/161f4f7380e945b0769ad5f7122df55b8777396a..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/include/wx/treebase.h diff --git a/include/wx/treebase.h b/include/wx/treebase.h index 1ef4de314a..8d62734468 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -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_ -