git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15211
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxSpinCtrl *spin = (wxSpinCtrl *)::GetWindowLong(hwnd, GWL_USERDATA);
{
wxSpinCtrl *spin = (wxSpinCtrl *)::GetWindowLong(hwnd, GWL_USERDATA);
- // forward some messages (the key ones only so far) to the spin ctrl
+ // forward some messages (the key and focus ones only so far) to
+ // the spin ctrl
+ case WM_SETFOCUS:
+ case WM_KILLFOCUS:
case WM_CHAR:
case WM_DEADCHAR:
case WM_KEYUP:
case WM_CHAR:
case WM_DEADCHAR:
case WM_KEYUP: