committing current cocoa state just to be safe ...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-08-30 08:03:32 +00:00
parent 8b73c5318c
commit dbeddfb93d
22 changed files with 2277 additions and 218 deletions

View File

@@ -30,9 +30,7 @@
#if wxUSE_GUI
#if wxOSX_USE_COCOA_OR_CARBON
#include "wx/osx/uma.h"
#include <CoreServices/CoreServices.h>
#include <Carbon/Carbon.h>
#include "wx/osx/private/timer.h"
#endif
#endif // wxUSE_GUI
@@ -57,6 +55,17 @@ void wxMacWakeUp()
}
#endif // wxUSE_BASE
bool wxApp::DoInitGui()
{
[NSApplication sharedApplication];
[NSApp finishLaunching];
return true;
}
void wxApp::DoCleanUp()
{
}
#if wxUSE_GUI
@@ -82,7 +91,7 @@ void wxGetMousePosition( int* x, int* y )
wxTimerImpl* wxGUIAppTraits::CreateTimerImpl(wxTimer *timer)
{
return new wxCarbonTimerImpl(timer);
return new wxOSXTimerImpl(timer);
}
int gs_wxBusyCursorCount = 0;