]> git.saurik.com Git - wxWidgets.git/commitdiff
Set default encoding
authorJulian Smart <julian@anthemion.co.uk>
Fri, 19 Jul 2002 08:39:00 +0000 (08:39 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 19 Jul 2002 08:39:00 +0000 (08:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/app.cpp

index 42749948e2e9a0b0bc52bd78375fc31c815b3b2e..2f2a28be2916bc97bff4b3523a77320d12bf28b9 100644 (file)
@@ -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