X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67daf87774c71ae9f73af9969008af220e52a11..c9d9f242e45a5d8399d52f5709b560a63dd804fc:/src/generic/prntdlgg.cpp?ds=sidebyside diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 74837533a2..7aec75e74b 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.GetToPage()); toText->SetValue(buf); if (printData.GetAllPages())