]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tprint.tex
fix various latex errors
[wxWidgets.git] / docs / latex / wx / tprint.tex
index df5a703f3eadcac6ce8b87c543ab19d260b25520..8c5c774e71fd1d4886f4456600b99256848309dd 100644 (file)
@@ -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);