X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f3dcbbf2095254b4d649efac93f5e99559d9ddc..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/include/wx/treebase.h diff --git a/include/wx/treebase.h b/include/wx/treebase.h index 6d50ea37da..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" @@ -144,7 +143,7 @@ static const int wxTREE_HITTEST_ONITEM = wxTREE_HITTEST_ONITEMICON | wxTREE_HITTEST_ONITEMLABEL; // tree ctrl default name -WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxTreeCtrlNameStr; // ---------------------------------------------------------------------------- // wxTreeItemAttr: a structure containing the visual attributes of an item @@ -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_ -