diff options
Diffstat (limited to 'views/widget/widget_win.h')
-rw-r--r-- | views/widget/widget_win.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h index d948e66..b39362f 100644 --- a/views/widget/widget_win.h +++ b/views/widget/widget_win.h @@ -6,7 +6,9 @@ #define VIEWS_WIDGET_WIDGET_WIN_H_ #include <atlbase.h> +#include <atlapp.h> #include <atlcrack.h> +#include <atlmisc.h> #include "base/message_loop.h" #include "base/system_monitor.h" @@ -36,7 +38,7 @@ RootView* GetRootViewForHWND(HWND hwnd); // uMsg - kReflectedMessage // wParam - Should be 0 // lParam - Pointer to MSG struct containing the original message. -static const int kReflectedMessage = WM_APP + 3; +const int kReflectedMessage = WM_APP + 3; // These two messages aren't defined in winuser.h, but they are sent to windows // with captions. They appear to paint the window caption and frame. @@ -46,8 +48,8 @@ static const int kReflectedMessage = WM_APP + 3; // window and paint the standard caption/title over the top of the custom one. // So we need to handle these messages in CustomFrameWindow to prevent this // from happening. -static const int WM_NCUAHDRAWCAPTION = 0xAE; -static const int WM_NCUAHDRAWFRAME = 0xAF; +const int WM_NCUAHDRAWCAPTION = 0xAE; +const int WM_NCUAHDRAWFRAME = 0xAF; /////////////////////////////////////////////////////////////////////////////// // |