From 0598e263cecc205aff9a6735cf41803205fabbcb Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 19 Jul 2002 08:39:00 +0000 Subject: [PATCH] Set default encoding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 42749948e2..2f2a28be29 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -105,6 +105,10 @@ bool wxApp::Initialize() { wxClassInfo::InitializeClasses(); +#if wxUSE_INTL + wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); +#endif + // GL: I'm annoyed ... I don't know where to put this and I don't want to // create a module for that as it's part of the core. #if wxUSE_THREADS -- 2.45.2