]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
Unicode compilation fixes
[wxWidgets.git] / src / msw / window.cpp
index 1fb516357456821824651c57ea3f5a172ca0ccc3..81f0c914d13cfd0c457fe4acac68aeab907a8521 100644 (file)
@@ -2955,7 +2955,7 @@ wxWinHashTable *wxWinHandleHash = NULL;
 
 wxWindow *wxFindWinFromHandle(WXHWND hWnd)
 {
-    return wxWinHandleHash->Get((long)hWnd);
+    return (wxWindow*)wxWinHandleHash->Get((long)hWnd);
 }
 
 void wxAssociateWinWithHandle(HWND hWnd, wxWindowMSW *win)