diff options
Diffstat (limited to 'views/controls/tree/tree_view.h')
-rw-r--r-- | views/controls/tree/tree_view.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/controls/tree/tree_view.h b/views/controls/tree/tree_view.h index 4523916..7e35097 100644 --- a/views/controls/tree/tree_view.h +++ b/views/controls/tree/tree_view.h @@ -5,6 +5,9 @@ #ifndef VIEWS_CONTROLS_TREE_TREE_VIEW_H_ #define VIEWS_CONTROLS_TREE_TREE_VIEW_H_ +#include <windows.h> +#include <commctrl.h> + #include <map> #include "app/tree_model.h" @@ -159,7 +162,7 @@ class TreeView : public NativeControl, TreeModelObserver { virtual bool NotifyOnKeyDown() const { return true; } virtual bool OnKeyDown(int virtual_key_code); - virtual void OnContextMenu(const CPoint& location); + virtual void OnContextMenu(const WTL::CPoint& location); // Returns the TreeModelNode for |tree_item|. TreeModelNode* GetNodeForTreeItem(HTREEITEM tree_item); |