X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb896a322a2ed53d393ee738765ddd3f72cee004..06d0938900acc655a047c9a81b97ffda838c4b17:/src/cocoa/app.mm diff --git a/src/cocoa/app.mm b/src/cocoa/app.mm index 97ae62132a..3574ca20b9 100644 --- a/src/cocoa/app.mm +++ b/src/cocoa/app.mm @@ -23,6 +23,7 @@ #include "wx/app.h" #include "wx/frame.h" #include "wx/dialog.h" + #include "wx/dc.h" #include "wx/intl.h" #include "wx/log.h" #include "wx/cocoa/ObjcPose.h" @@ -311,6 +312,7 @@ END_EVENT_TABLE() // wxDebugContext::SetStream(NULL, NULL); #endif + wxDC::CocoaShutdownTextSystem(); #if wxUSE_LOG // do it as the very last thing because everything else can log messages delete wxLog::SetActiveTarget(NULL); @@ -352,6 +354,7 @@ bool wxApp::OnInitGui() // Create the app using the sharedApplication method m_cocoaApp = [NSApplication sharedApplication]; + wxDC::CocoaInitializeTextSystem(); // [ m_cocoaApp setDelegate:m_cocoaApp ]; #if 0 wxLogDebug("Just for kicks");