From b6241cc22d73dce12b91ec8310fa2c7f2b028347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 7 Nov 2002 12:03:29 +0000 Subject: [PATCH] compilation fix and replaced wxFAIL_MSG with wxLogError (this is runtime error) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/mimetype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index 6f29465df4..23c23a983e 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -369,7 +369,7 @@ bool wxMimeTypesManagerImpl::CheckGnomeDirsExist () { if (!wxMkdir ( sTmp )) { - wxFAIL_MSG (wxString ("Failed to create directory\n.gnome in \nCheckGnomeDirsExist") + sTmp ); + wxLogError(_("Failed to create directory %s/.gnome."), sTmp.c_str()); return FALSE; } } @@ -378,7 +378,7 @@ bool wxMimeTypesManagerImpl::CheckGnomeDirsExist () { if (!wxMkdir ( sTmp )) { - wxFAIL_MSG (wxString ("Failed to create directory\nmime-info in \nCheckGnomeDirsExist") + sTmp ); + wxLogError(_("Failed to create directory %s/mime-info."), sTmp.c_str()); return FALSE; } }