mirror of
https://github.com/alexkay/spek.git
synced 2025-04-21 19:07:37 +03:00
Minor improvements
* defined a macro that disables wxwidget debugging output In my case wxwidgets complaines that the environment variable SESSION_MANAGER is not set. see http://trac.wxwidgets.org/ticket/16024 * added a check for a wxwidgets function call
This commit is contained in:
parent
ac482d779e
commit
e784ce1c41
@ -25,7 +25,8 @@ void SpekPreferences::init()
|
||||
lang = info->Language;
|
||||
}
|
||||
}
|
||||
this->locale->Init(lang);
|
||||
if (!this->locale->Init(lang))
|
||||
fprintf(stderr, "failed to set language\n");
|
||||
this->locale->AddCatalog(GETTEXT_PACKAGE);
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
#define NDEBUG
|
||||
/* disable debug messages included in wxwidgets
|
||||
* see docs.wxwidgets.org/trunk/group__group__funcmacro__debug.html
|
||||
*/
|
||||
|
||||
#include <wx/cmdline.h>
|
||||
#include <wx/log.h>
|
||||
#include <wx/socket.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user