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
This commit is contained in:
Václav Slavík
2002-11-07 12:03:29 +00:00
parent 55f8e9befc
commit b6241cc22d

View File

@@ -369,7 +369,7 @@ bool wxMimeTypesManagerImpl::CheckGnomeDirsExist ()
{ {
if (!wxMkdir ( sTmp )) 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; return FALSE;
} }
} }
@@ -378,7 +378,7 @@ bool wxMimeTypesManagerImpl::CheckGnomeDirsExist ()
{ {
if (!wxMkdir ( sTmp )) 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; return FALSE;
} }
} }