]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/app.cpp
Document the cfstring.h/cfstring.cpp as being used by all Darwin ports (it's
[wxWidgets.git] / src / mac / carbon / app.cpp
index cbb3c6f22beded278f69fd8c4ec76ee6b9b13e65..524f623b832448cac6524701ca03dee8e56d7838 100644 (file)
@@ -766,6 +766,8 @@ extern "C" void macPostedEventCallback(void *WXUNUSED(unused))
     wxTheApp->ProcessPendingEvents();
 }
 
+ProcessSerialNumber gAppProcess ;
+
 bool wxApp::Initialize(int& argc, wxChar **argv)
 {
     // Mac-specific
@@ -796,6 +798,8 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
     if ( !wxAppBase::Initialize(argc, argv) )
         return false;
 
+    GetCurrentProcess(&gAppProcess);
+
 #if wxUSE_INTL
     wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding());
 #endif