X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/cocoa/app.mm diff --git a/src/cocoa/app.mm b/src/cocoa/app.mm index bc8af99d71..c353fec89a 100644 --- a/src/cocoa/app.mm +++ b/src/cocoa/app.mm @@ -7,7 +7,7 @@ // RCS-ID: $Id$ // Copyright: (c) David Elliott // Software 2000 Ltd. -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -319,7 +319,7 @@ void wxApp::WakeUpIdle() done without exiting the runloop. Be careful if you decide to change the implementation of this method - as wxEventLoop::Exit depends on the current behavior. + as wxEventLoop::Exit depends on the current behaviour. */ [m_cocoaApp postEvent:[NSEvent otherEventWithType:NSApplicationDefined location:NSZeroPoint modifierFlags:NSAnyEventMask @@ -354,7 +354,7 @@ static int sg_cApplicationWillUpdate = 0; before the run loop waits and send the idle events from there. It also has the desirable effect of only sending the wx idle events when - the event loop is actualy going to block. If the event loop is being + the event loop is actually going to block. If the event loop is being pumped manualy (e.g. like a PeekMessage) then the kCFRunLoopBeforeWaiting observer never fires. Our Yield() method depends on this because sending idle events from within Yield would be bad.