added wakeup implementation for osx_cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-08-18 14:49:38 +00:00
parent 7f3f8f1e85
commit 80c765ac5a

View File

@@ -52,7 +52,9 @@ void wxBell()
void wxMacWakeUp()
{
// TODO
NSEvent* wakeupEvent = [NSEvent otherEventWithType:NSApplicationDefined location:NSZeroPoint
modifierFlags:NSAnyEventMask timestamp:0 windowNumber:0 context:nil subtype:0 data1:0 data2:0];
[NSApp postEvent:wakeupEvent atStart:NO];
}
#endif // wxUSE_BASE