]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
All events now internally watched
[wxWidgets.git] / src / msw / mdi.cpp
index 499c4f49720714dcb16d3d9d7e8cac226ab665d0..cfd5d647cefa452ef1108a4b110640d69d2c9d23 100644 (file)
@@ -482,7 +482,7 @@ bool wxMDIParentFrame::HandleCommand(WXWORD id, WXWORD cmd, WXHWND hwnd)
             if ( child->GetHWND() )
             {
                 long childId = wxGetWindowId(child->GetHWND());
-                if (childId == id)
+                if (childId == (long)id)
                 {
                     ::SendMessage( GetWinHwnd(GetClientWindow()),
                                    WM_MDIACTIVATE,