X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/484523cf522b02385cd47c432d50d117940b46b9..2e907fab47d506f5c8096b4a7675d9bd4216320e:/include/wx/treebase.h diff --git a/include/wx/treebase.h b/include/wx/treebase.h index 4d9320be93..4bd4f4b294 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: treectrl.h +// Name: treebase.h // Purpose: wxTreeCtrl base classes and types // Author: Julian Smart et al // Modified by: @@ -20,6 +20,9 @@ // headers // ---------------------------------------------------------------------------- +// Not defined in setup.h so removing for now +// #if wxUSE_TREECTRL + #include "wx/control.h" #include "wx/event.h" @@ -204,7 +207,7 @@ public: wxTreeItemId GetOldItem() const { return m_itemOld; } // the point where the mouse was when the drag operation started (for - // wxEVT_COMMAND_TREE_BEGIN_(R)DRAG events only) + // wxEVT_COMMAND_TREE_BEGIN_(R)DRAG events only) or click position wxPoint GetPoint() const { return m_pointDrag; } // keyboard code (for wxEVT_COMMAND_TREE_KEY_DOWN only) @@ -280,6 +283,8 @@ 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 }, +// #endif // wxUSE_TREECTRL + #endif // _WX_TREEBASE_H_