Remove unnecessary wxLogNull from internat sample

There is no need to suppress wxLog messages from AddCatalog() because it
doesn't log any errors even if the catalog is not found, while tracing
messages (given only if WXTRACE is set) from it can be useful.
This commit is contained in:
Vadim Zeitlin
2021-06-15 14:32:44 +02:00
parent a71b3d2cd6
commit bef4ccede4

View File

@@ -266,10 +266,7 @@ bool MyApp::OnInit()
//
// if it's not installed on your system, it is just silently ignored
#ifdef __LINUX__
{
wxLogNull noLog;
m_locale.AddCatalog("coreutils");
}
m_locale.AddCatalog("coreutils");
#endif
// Create the main frame window