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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user