]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
Don't call StartingKey if the key was F2
[wxWidgets.git] / src / msw / window.cpp
index f0964a9120459b087e2e6d6e45f50cd79099b038..68136888e9a5bc3219772f966ea79570c5f9a597 100644 (file)
@@ -1347,7 +1347,7 @@ void wxWindowMSW::Refresh(bool eraseBack, const wxRect *rect)
 
         ::RedrawWindow(hWnd, pRect, NULL, flags);
 #else
-        wxUnusedVar( eraseBack );
+        ::InvalidateRect(hWnd, pRect, eraseBack);
 #endif
     }
 }