summaryrefslogtreecommitdiffstats
path: root/views/controls/textfield/native_textfield_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/textfield/native_textfield_win.h')
-rw-r--r--views/controls/textfield/native_textfield_win.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h
index 194614a..58034c0 100644
--- a/views/controls/textfield/native_textfield_win.h
+++ b/views/controls/textfield/native_textfield_win.h
@@ -74,6 +74,7 @@ class NativeTextfieldWin
MSG_WM_NCPAINT(OnNCPaint)
MSG_WM_RBUTTONDOWN(OnNonLButtonDown)
MSG_WM_PASTE(OnPaste)
+ MSG_WM_SETFOCUS(OnSetFocus)
MSG_WM_SYSCHAR(OnSysChar) // WM_SYSxxx == WM_xxx with ALT down
MSG_WM_SYSKEYDOWN(OnKeyDown)
END_MSG_MAP()
@@ -122,6 +123,7 @@ class NativeTextfieldWin
void OnNCPaint(HRGN region);
void OnNonLButtonDown(UINT keys, const CPoint& point);
void OnPaste();
+ void OnSetFocus(HWND hwnd);
void OnSysChar(TCHAR ch, UINT repeat_count, UINT flags);
// Helper function for OnChar() and OnKeyDown() that handles keystrokes that