projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor OS/2 bug with a misplace #endif
[wxWidgets.git]
/
src
/
msw
/
spinctrl.cpp
diff --git
a/src/msw/spinctrl.cpp
b/src/msw/spinctrl.cpp
index 22ee0816c994a84e47afdf81fb5cbb32a8c9472f..dbf5cdceef1a3bd91550f85a00294f72ad7b16e3 100644
(file)
--- a/
src/msw/spinctrl.cpp
+++ b/
src/msw/spinctrl.cpp
@@
-85,9
+85,12
@@
LRESULT APIENTRY _EXPORT wxBuddyTextWndProc(HWND hwnd,
{
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
switch ( message )
{
switch ( message )
{
+ case WM_SETFOCUS:
+ case WM_KILLFOCUS:
case WM_CHAR:
case WM_DEADCHAR:
case WM_KEYUP:
case WM_CHAR:
case WM_DEADCHAR:
case WM_KEYUP: