]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/colordlg.cpp
No changes, just minor cleanup.
[wxWidgets.git] / src / msw / colordlg.cpp
index 7a52b05e9da372469b18ae22985c7f15f66030a1..0b8d20706f05ec1fb910cd0c0ca760c02ac886cc 100644 (file)
@@ -77,7 +77,7 @@ wxColourDialogHookProc(HWND hwnd,
     {
         CHOOSECOLOR *pCC = (CHOOSECOLOR *)lParam;
         wxColourDialog * const
-            dialog = wx_reinterpret_cast(wxColourDialog *, pCC->lCustData);
+            dialog = reinterpret_cast<wxColourDialog *>(pCC->lCustData);
 
         const wxString title = dialog->GetTitle();
         if ( !title.empty() )
@@ -152,7 +152,9 @@ int wxColourDialog::ShowModal()
         // occurred
         const DWORD err = CommDlgExtendedError();
         if ( err )
+        {
             wxLogError(_("Colour selection dialog failed with error %0lx."), err);
+        }
 
         return wxID_CANCEL;
     }