m_dummyWindow = nil;
m_modalNestedLevel = 0;
m_modalWindow = NULL;
+ m_osxLowLevelWakeUp = false;
}
wxGUIEventLoop::~wxGUIEventLoop()
void wxGUIEventLoop::WakeUp()
{
// NSEvent* cevent = [NSApp currentEvent];
- NSString* mode = [[NSRunLoop mainRunLoop] currentMode];
+ // NSString* mode = [[NSRunLoop mainRunLoop] currentMode];
// when already in a mouse event handler, don't add higher level event
// if ( cevent != nil && [cevent type] <= NSMouseMoved && )
- if ( [NSEventTrackingRunLoopMode isEqualToString:mode] )
+ if ( m_osxLowLevelWakeUp /* [NSEventTrackingRunLoopMode isEqualToString:mode] */ )
{
// NSLog(@"event for wakeup %@ in mode %@",cevent,mode);
wxCFEventLoop::WakeUp();