]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
don't send text changed events from ctor as wxGTK doesn't do it and people apparently...
[wxWidgets.git] / src / msw / spinctrl.cpp
index e5a4577acf519d81798d8491430f4f87054eabe8..a2a38c0437a9d10e8bb48df41ca81ac27539ff14 100644 (file)
@@ -178,7 +178,7 @@ LRESULT APIENTRY _EXPORT wxBuddyTextWndProc(HWND hwnd,
 
         case WM_GETDLGCODE:
             // we want to get WXK_RETURN in order to generate the event for it
-            return DLGC_WANTCHARS;
+            return DLGC_WANTALLKEYS;
     }
 
     return ::CallWindowProc(CASTWNDPROC spin->GetBuddyWndProc(),