GUI_App: Add a language code getter

This commit is contained in:
Vojtech Kral 2019-04-17 14:56:44 +02:00
parent 08cb5bc2c7
commit 5fd2e573a0

View file

@ -139,6 +139,8 @@ public:
bool checked_tab(Tab* tab); bool checked_tab(Tab* tab);
void load_current_presets(); void load_current_presets();
wxString current_language_code() { return m_wxLocale != nullptr ? m_wxLocale->GetCanonicalName() : wxString("en_US"); }
virtual bool OnExceptionInMainLoop(); virtual bool OnExceptionInMainLoop();
#ifdef __APPLE__ #ifdef __APPLE__