]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
Don't call busy cursor when creating a message
[wxWidgets.git] / src / msw / filedlg.cpp
index b64a9f842c9db3e38b5ef0ee402fe65e8cc0e9b3..805374a8e92b0e2e7832d5ffb168ce438f8a4772 100644 (file)
@@ -329,8 +329,8 @@ int wxFileDialog::ShowModal()
 
     //== Execute FileDialog >>=================================================
 
-    bool success = (m_dialogStyle & wxSAVE) ? (GetSaveFileName(&of) != 0)
-                                            : (GetOpenFileName(&of) != 0);
+    bool success = (m_dialogStyle & wxSAVE ? GetSaveFileName(&of)
+                                           : GetOpenFileName(&of)) != 0;
 
     DWORD errCode = CommDlgExtendedError();