]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsgui.cpp
add GetMDIParent() and use it to reduce the number of casts in the MDI code (patch...
[wxWidgets.git] / src / msw / utilsgui.cpp
index f01babae85c64d8784aef0c9e0a858d3c914f0fa..e3c65df0812381d3185999e874f6c0e98d32f94f 100644 (file)
@@ -293,9 +293,9 @@ wxString WXDLLEXPORT wxGetWindowClass(WXHWND hWnd)
     return str;
 }
 
     return str;
 }
 
-WXWORD WXDLLEXPORT wxGetWindowId(WXHWND hWnd)
+int WXDLLEXPORT wxGetWindowId(WXHWND hWnd)
 {
 {
-    return (WXWORD)GetWindowLong((HWND)hWnd, GWL_ID);
+    return ::GetWindowLong((HWND)hWnd, GWL_ID);
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------