X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57bd4c6031d438f11af0ec540136f49a928b923c..9ab7ff537d1ead0f0b07c14841474203c7fa59ba:/src/msw/fontdlg.cpp diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index 51a5bd1b2b..86156c2f37 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -112,17 +112,12 @@ int wxFontDialog::ShowModal() } else { - // common dialog failed - why? -#ifdef __WXDEBUG__ DWORD dwErr = CommDlgExtendedError(); if ( dwErr != 0 ) { - // this msg is only for developers - wxLogError(wxT("Common dialog failed with error code %0lx."), - dwErr); + wxLogError(_("Common dialog failed with error code %0lx."), dwErr); } //else: it was just cancelled -#endif return wxID_CANCEL; }