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