#include "wx/defs.h"
+#if wxUSE_PRINTING_ARCHITECTURE
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dc.h"
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();
}
}
}
+#endif