Suppress harmless g++ 4.4 warnings about missing braces.
Put braces around MSW-only wxLogXXX() calls to avoid warnings when building with MinGW 4.4+. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a9afb0576c
commit
4cfee1efef
1 changed files with 4 additions and 0 deletions
|
|
@ -1800,7 +1800,9 @@ wxMsgCatalog *wxResourceTranslationsLoader::LoadCatalog(const wxString& domain,
|
|||
domain);
|
||||
|
||||
if ( !cat )
|
||||
{
|
||||
wxLogWarning(_("Resource '%s' is not a valid message catalog."), resname);
|
||||
}
|
||||
|
||||
return cat;
|
||||
}
|
||||
|
|
@ -1847,7 +1849,9 @@ wxArrayString wxResourceTranslationsLoader::GetAvailableTranslations(const wxStr
|
|||
{
|
||||
const DWORD err = GetLastError();
|
||||
if ( err != NO_ERROR && err != ERROR_RESOURCE_TYPE_NOT_FOUND )
|
||||
{
|
||||
wxLogSysError(_("Couldn't enumerate translations"));
|
||||
}
|
||||
}
|
||||
|
||||
return data.langs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue