switching loop mode for idle processing, fixes #11912 (left is a redraw issue, textfield borders are not repainted correctly when enabling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -197,12 +197,12 @@ wxCFEventLoop::wxCFEventLoop()
|
|||||||
ctxt.info = this;
|
ctxt.info = this;
|
||||||
m_runLoopObserver = CFRunLoopObserverCreate( kCFAllocatorDefault, kCFRunLoopBeforeTimers | kCFRunLoopBeforeWaiting , true /* repeats */, 0,
|
m_runLoopObserver = CFRunLoopObserverCreate( kCFAllocatorDefault, kCFRunLoopBeforeTimers | kCFRunLoopBeforeWaiting , true /* repeats */, 0,
|
||||||
wxObserverCallBack, &ctxt );
|
wxObserverCallBack, &ctxt );
|
||||||
CFRunLoopAddObserver(m_runLoop, m_runLoopObserver, kCFRunLoopDefaultMode);
|
CFRunLoopAddObserver(m_runLoop, m_runLoopObserver, kCFRunLoopCommonModes);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxCFEventLoop::~wxCFEventLoop()
|
wxCFEventLoop::~wxCFEventLoop()
|
||||||
{
|
{
|
||||||
CFRunLoopRemoveObserver(m_runLoop, m_runLoopObserver, kCFRunLoopDefaultMode);
|
CFRunLoopRemoveObserver(m_runLoop, m_runLoopObserver, kCFRunLoopCommonModes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user