From 2be05d45252b8eccb41da82db5d8c142b9463414 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 7 Apr 2010 09:05:26 +0000 Subject: [PATCH] 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 --- src/osx/core/evtloop_cf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/core/evtloop_cf.cpp b/src/osx/core/evtloop_cf.cpp index 4e4dcd0aca..3b85b35085 100644 --- a/src/osx/core/evtloop_cf.cpp +++ b/src/osx/core/evtloop_cf.cpp @@ -197,12 +197,12 @@ wxCFEventLoop::wxCFEventLoop() ctxt.info = this; m_runLoopObserver = CFRunLoopObserverCreate( kCFAllocatorDefault, kCFRunLoopBeforeTimers | kCFRunLoopBeforeWaiting , true /* repeats */, 0, wxObserverCallBack, &ctxt ); - CFRunLoopAddObserver(m_runLoop, m_runLoopObserver, kCFRunLoopDefaultMode); + CFRunLoopAddObserver(m_runLoop, m_runLoopObserver, kCFRunLoopCommonModes); } wxCFEventLoop::~wxCFEventLoop() { - CFRunLoopRemoveObserver(m_runLoop, m_runLoopObserver, kCFRunLoopDefaultMode); + CFRunLoopRemoveObserver(m_runLoop, m_runLoopObserver, kCFRunLoopCommonModes); } -- 2.47.2