added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -549,6 +549,8 @@ bool wxApp::Initialize() | |||||||
|     wxClassInfo::InitializeClasses(); |     wxClassInfo::InitializeClasses(); | ||||||
|  |  | ||||||
|     wxSystemSettings::Init(); |     wxSystemSettings::Init(); | ||||||
|  |      | ||||||
|  |     wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); | ||||||
|  |  | ||||||
|     // GL: I'm annoyed ... I don't know where to put this and I don't want to |     // 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. |     // create a module for that as it's part of the core. | ||||||
|   | |||||||
| @@ -549,6 +549,8 @@ bool wxApp::Initialize() | |||||||
|     wxClassInfo::InitializeClasses(); |     wxClassInfo::InitializeClasses(); | ||||||
|  |  | ||||||
|     wxSystemSettings::Init(); |     wxSystemSettings::Init(); | ||||||
|  |      | ||||||
|  |     wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); | ||||||
|  |  | ||||||
|     // GL: I'm annoyed ... I don't know where to put this and I don't want to |     // 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. |     // create a module for that as it's part of the core. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user