X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..b1263dcfa3fb318e9a48bdbdfe548eb474ae5fde:/docs/latex/wx/tprint.tex?ds=sidebyside

diff --git a/docs/latex/wx/tprint.tex b/docs/latex/wx/tprint.tex
index df5a703f3e..8c5c774e71 100644
--- a/docs/latex/wx/tprint.tex
+++ b/docs/latex/wx/tprint.tex
@@ -45,7 +45,7 @@ please look at the printout sample code.
     {
       // Pass two printout objects: for preview, and possible printing.
       wxPrintPreview *preview = new wxPrintPreview(new MyPrintout, new MyPrintout);
-      wxPreviewFrame *frame = new wxPreviewFrame(preview, this, "Demo Print Preview", 100, 100, 600, 650);
+      wxPreviewFrame *frame = new wxPreviewFrame(preview, this, "Demo Print Preview", wxPoint(100, 100), wxSize(600, 650));
       frame->Centre(wxBOTH);
       frame->Initialize();
       frame->Show(true);
