]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/iniconf.cpp
Fixed wxMessageBox with only an OK button returning wxCANCEL under MSW.
[wxWidgets.git] / src / os2 / iniconf.cpp
index 1aaa90877224a94525740fdc018fbefd5e0ab5d8..5b352380e66ab6481a771556fa26728202fc5b90 100644 (file)
@@ -372,7 +372,9 @@ bool wxIniConfig::Write(const wxString& szKey, const wxString& WXUNUSED(szValue)
 //                                       szValue, m_strLocalFilename) != 0;
 
     if ( !bOk )
 //                                       szValue, m_strLocalFilename) != 0;
 
     if ( !bOk )
+    {
         wxLogLastError(wxT("WritePrivateProfileString"));
         wxLogLastError(wxT("WritePrivateProfileString"));
+    }
 
     return bOk;
 }
 
     return bOk;
 }
@@ -417,7 +419,9 @@ bool wxIniConfig::DeleteEntry(const wxString& szKey, bool bGroupIfEmptyAlso)
                       //                             NULL, m_strLocalFilename) != 0;
 
     if ( !bOk )
                       //                             NULL, m_strLocalFilename) != 0;
 
     if ( !bOk )
+    {
         wxLogLastError(wxT("WritePrivateProfileString"));
         wxLogLastError(wxT("WritePrivateProfileString"));
+    }
 
     return bOk;
 }
 
     return bOk;
 }
@@ -432,7 +436,9 @@ bool wxIniConfig::DeleteGroup(const wxString& szKey)
                     //                             NULL, m_strLocalFilename) != 0;
 
   if ( !bOk )
                     //                             NULL, m_strLocalFilename) != 0;
 
   if ( !bOk )
+  {
     wxLogLastError(wxT("WritePrivateProfileString"));
     wxLogLastError(wxT("WritePrivateProfileString"));
+  }
 
   return bOk;
 }
 
   return bOk;
 }