git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18668
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxBeginBusyCursor();
wxWindow *win = CreateAbortWindow(parent, printout);
- wxYield();
+ wxSafeYield(win,true);
if (!win)
{
}
sm_abortWindow = win;
sm_abortWindow->Show(TRUE);
- wxYield();
+ wxSafeYield(win,true);
printout->OnBeginPrinting();
{
GrafPtr thePort ;
GetPort( &thePort ) ;
- wxYield() ;
- SetPort( thePort ) ;
+ wxSafeYield(win,true);
+ SetPort( thePort ) ;
dc->StartPage();
keepGoing = printout->OnPrintPage(pn);
wxBeginBusyCursor();
wxWindow *win = CreateAbortWindow(parent, printout);
- wxYield();
+ wxSafeYield(win,true);
if (!win)
{
}
sm_abortWindow = win;
sm_abortWindow->Show(TRUE);
- wxYield();
+ wxSafeYield(win,true);
printout->OnBeginPrinting();
{
GrafPtr thePort ;
GetPort( &thePort ) ;
- wxYield() ;
- SetPort( thePort ) ;
+ wxSafeYield(win,true);
+ SetPort( thePort ) ;
dc->StartPage();
keepGoing = printout->OnPrintPage(pn);