sprintf(buf, "%d", printData.GetFromPage());
fromText->SetValue(buf);
- sprintf(buf, "% d", printData.GetFromPage());
+ sprintf(buf, "%d", printData.GetFromPage());
toText->SetValue(buf);
if (printData.GetAllPages())
wxDC *wxGenericPrintDialog::GetPrintDC(void)
{
- return new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, NULL);
+ return new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, (wxWindow *) NULL);
}
/*