]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a trivial error.
authorKarsten Ballüder <ballueder@usa.net>
Sun, 25 Oct 1998 11:07:54 +0000 (11:07 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Sun, 25 Oct 1998 11:07:54 +0000 (11:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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())