]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
Added UpdateSize to wxSplitterWindow, to allow an app
[wxWidgets.git] / src / msw / spinctrl.cpp
index 34b9c39b5159aa8c07579b5670ce0b7c34bda79e..4f2f56cca250db5dbd61c8b6d593375c03397cb2 100644 (file)
@@ -158,7 +158,7 @@ LRESULT APIENTRY _EXPORT wxBuddyTextWndProc(HWND hwnd,
         case WM_SETFOCUS:
             // if the focus comes from the spin control itself, don't set it
             // back to it -- we don't want to go into an infinite loop
-            if ( wParam == spin->GetHWND() )
+            if ( (WXHWND)wParam == spin->GetHWND() )
                 break;
             //else: fall through