]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/app.cpp
Fixed DDE memory leaks.
[wxWidgets.git] / src / mac / carbon / app.cpp
index 3c0a3951354cd5960de889c7077aa1c086da0aa8..f7e96bddfb3db11a931fec9ceb68aad8d7fd6605 100644 (file)
@@ -647,6 +647,11 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
     if ( !wxAppBase::Initialize(argc, argv) )
         return false;
 
+#if wxUSE_INTL
+    wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding());
+#endif
+
+
     wxWinMacWindowList = new wxList(wxKEY_INTEGER);
     wxWinMacControlList = new wxList(wxKEY_INTEGER);