printout->GetTitle(),
_("Printing..."),
totalPages,
- parent );
+ parent,
+ wxPD_CAN_ABORT|wxPD_AUTO_HIDE|wxPD_APP_MODAL);
printout->OnBeginPrinting();
}
else
{
- sm_abortIt = true;
- keepGoing = false;
+ sm_abortIt = TRUE;
+ keepGoing = FALSE;
}
}
+ wxYield();
}
printout->OnEndDocument();
}