updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / amaya / amaya-wxyield.patch
blob69235f5d4e9e64ae7d080fc614f73b27c115466c
1 diff -aur Amaya11.3.1/Amaya/thotlib/dialogue/appdialogue_wx.c Amaya11.3.1.new/Amaya/thotlib/dialogue/appdialogue_wx.c
2 --- Amaya11.3.1/Amaya/thotlib/dialogue/appdialogue_wx.c 2009-09-15 17:17:02.000000000 +0200
3 +++ Amaya11.3.1.new/Amaya/thotlib/dialogue/appdialogue_wx.c 2010-08-17 21:07:40.973352206 +0200
4 @@ -993,7 +993,7 @@
5 * this function waits for complete widgets initialisation */
6 /* notice: no not use safe yield here because it use a
7 wxWindowDisabler and it makes menus blinking */
8 - wxYield();
9 + wxTheApp->Yield(TRUE);
10 return TRUE;
13 @@ -1824,7 +1824,7 @@
14 TtaHandlePendingEvents();
15 /* wait for frame initialisation (needed by opengl)
16 * this function waits for complete widgets initialisation */
17 - wxYield();
18 + wxTheApp->Yield(TRUE);
19 /* fix accessibility problem : force the created frame to get the focus */
20 TtaRedirectFocus();