]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
Committing in .
[wxWidgets.git] / src / os2 / window.cpp
index 3ec349cf48ab05a3b322b9b1c588fe49e7a4d5be..2a899ef6186d5f7b6aad0a325d9d2414f56aa15a 100644 (file)
@@ -1674,12 +1674,12 @@ bool wxWindow::OS2ProcessMessage(
                 }
             }
         }
+        //
+        // Let Dialogs process
+        //
+        if (::WinSendMsg(pQMsg->hwnd, WM_QUERYDLGCODE, pQMsg, 0));
+            return TRUE;
     }
-    //
-    // Let Dialogs process
-    //
-    if (::WinSendMsg(pQMsg->hwnd, WM_QUERYDLGCODE, pQMsg, 0));
-        return TRUE;
 
 #if wxUSE_TOOLTIPS
     if ( m_tooltip )