X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bcb11d30764df47144189e164f53d8171ed4a63..3c59549689ca9333b0dde255dc7d46e0539183e8:/docs/latex/wx/tprint.tex diff --git a/docs/latex/wx/tprint.tex b/docs/latex/wx/tprint.tex index e6f672c936..463f8d3689 100644 --- a/docs/latex/wx/tprint.tex +++ b/docs/latex/wx/tprint.tex @@ -38,7 +38,7 @@ please look at the printout sample code. { wxPrinter printer; MyPrintout printout("My printout"); - printer.Print(this, &printout, TRUE); + printer.Print(this, &printout, true); break; } case WXPRINT_PREVIEW: @@ -48,14 +48,14 @@ please look at the printout sample code. wxPreviewFrame *frame = new wxPreviewFrame(preview, this, "Demo Print Preview", 100, 100, 600, 650); frame->Centre(wxBOTH); frame->Initialize(); - frame->Show(TRUE); + frame->Show(true); break; } case WXPRINT_PRINT_SETUP: { wxPrintDialog printerDialog(this); - printerDialog.GetPrintData().SetSetupDialog(TRUE); - printerDialog.Show(TRUE); + printerDialog.GetPrintData().SetSetupDialog(true); + printerDialog.Show(true); break; } \end{verbatim}