fixed focus tracking for spin controls (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
566d84a7c3
commit
93c4157c6c
@ -85,9 +85,12 @@ LRESULT APIENTRY _EXPORT wxBuddyTextWndProc(HWND hwnd,
|
||||
{
|
||||
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
|
||||
switch ( message )
|
||||
{
|
||||
case WM_SETFOCUS:
|
||||
case WM_KILLFOCUS:
|
||||
case WM_CHAR:
|
||||
case WM_DEADCHAR:
|
||||
case WM_KEYUP:
|
||||
|
Loading…
Reference in New Issue
Block a user