diff options
Diffstat (limited to 'views/controls/native_control.h')
-rw-r--r-- | views/controls/native_control.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/controls/native_control.h b/views/controls/native_control.h index 0573168..39022a2 100644 --- a/views/controls/native_control.h +++ b/views/controls/native_control.h @@ -9,6 +9,10 @@ #include "views/view.h" +namespace WTL { +class CPoint; +} + namespace views { class HWNDView; @@ -53,7 +57,7 @@ class NativeControl : public View { virtual LRESULT OnCommand(UINT code, int id, HWND source) { return 0; } // Invoked when the appropriate gesture for a context menu is issued. - virtual void OnContextMenu(const CPoint& location); + virtual void OnContextMenu(const WTL::CPoint& location); // Overridden so to set the native focus to the native control. virtual void Focus(); |