X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64a1451536e1917c240a8377c7672ea155e7681d..dcf40a56e7b09fc5472edc1d4471e7954c0da40d:/src/generic/prntdlgg.cpp diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 17c6466ad6..74837533a2 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -235,7 +235,7 @@ bool wxGenericPrintDialog::TransferDataToWindow(void) sprintf(buf, "%d", printData.GetFromPage()); fromText->SetValue(buf); - sprintf(buf, "% d", printData.GetFromPage()); + sprintf(buf, "%d", printData.GetFromPage()); toText->SetValue(buf); if (printData.GetAllPages()) @@ -286,7 +286,7 @@ bool wxGenericPrintDialog::TransferDataFromWindow(void) wxDC *wxGenericPrintDialog::GetPrintDC(void) { - return new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, NULL); + return new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, (wxWindow *) NULL); } /*