]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prntdlgg.cpp
final (?) changes to the generic tree ctrl -- seems to work ok
[wxWidgets.git] / src / generic / prntdlgg.cpp
index 74837533a2df918e6a533becc9192a91a3de9b91..7aec75e74ba6820fd3015080eeb4fe6c21b101ea 100644 (file)
@@ -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())