git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2848
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
printout->GetTitle(),
_("Printing..."),
totalPages,
printout->GetTitle(),
_("Printing..."),
totalPages,
+ parent,
+ wxPD_CAN_ABORT|wxPD_AUTO_HIDE|wxPD_APP_MODAL);
printout->OnBeginPrinting();
printout->OnBeginPrinting();
m_gauge->SetValue(value + 1);
if( !newmsg.IsEmpty() )
m_msg->SetLabel(newmsg);
m_gauge->SetValue(value + 1);
if( !newmsg.IsEmpty() )
m_msg->SetLabel(newmsg);
if ( (value == m_maximum - 1) && !(GetWindowStyleFlag() & wxPD_AUTO_HIDE) )
{
if ( (value == m_maximum - 1) && !(GetWindowStyleFlag() & wxPD_AUTO_HIDE) )
{
- while ( m_state != Canceled ) // set from OnClose()
- wxYield();
-
// so that we return TRUE below
m_state = Finished;
}
// so that we return TRUE below
m_state = Finished;
}