X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58cf0491e3938c3f112c488a5ef5bd1aca507378..71aba8333cc915afff9e740c944f7fa7247abacb:/docs/latex/wx/pagedlg.tex diff --git a/docs/latex/wx/pagedlg.tex b/docs/latex/wx/pagedlg.tex index b68a9ffeb6..f1a56a1299 100644 --- a/docs/latex/wx/pagedlg.tex +++ b/docs/latex/wx/pagedlg.tex @@ -50,13 +50,13 @@ Destructor. Returns the \helpref{page setup data}{wxpagesetupdialogdata} associated with the dialog. -\membersection{wxPageSetupDialog::Ok}\label{wxpagesetupdialogok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if the print data associated with the dialog data is valid. -This can return FALSE on Windows if the current printer is not set, for example. -On all other platforms, it returns TRUE. +%\membersection{wxPageSetupDialog::Ok}\label{wxpagesetupdialogok} +% +%\constfunc{bool}{Ok}{\void} +% +%Returns true if the print data associated with the dialog data is valid. +%This can return false on Windows if the current printer is not set, for example. +%On all other platforms, it returns true. \membersection{wxPageSetupDialog::ShowModal}\label{wxpagesetupdialogshowmodal} @@ -96,9 +96,9 @@ Default constructor. Copy constructor. -\func{}{wxPrintDialogData}{\param{wxPrintData\&}{ printData}} +\func{}{wxPageSetupDialogData}{\param{wxPrintData\&}{ printData}} -Construct an object from a print dialog data object. +Construct an object from a print data object. \membersection{wxPageSetupDialogData::\destruct{wxPageSetupDialogData}} @@ -140,44 +140,44 @@ Enables or disables the {\bf Printer} button, which invokes a printer setup dial \constfunc{bool}{GetDefaultMinMargins}{\void} -Returns TRUE if the page setup dialog will take its minimum margin values from the currently +Returns true if the page setup dialog will take its minimum margin values from the currently selected printer properties. Windows only. \membersection{wxPageSetupDialogData::GetEnableMargins}\label{wxpagesetupdialogdatagetenablemargins} \constfunc{bool}{GetEnableMargins}{\void} -Returns TRUE if the margin controls are enabled (Windows only). +Returns true if the margin controls are enabled (Windows only). \membersection{wxPageSetupDialogData::GetEnableOrientation}\label{wxpagesetupdialogdatagetenableorientation} \constfunc{bool}{GetEnableOrientation}{\void} -Returns TRUE if the orientation control is enabled (Windows only). +Returns true if the orientation control is enabled (Windows only). \membersection{wxPageSetupDialogData::GetEnablePaper}\label{wxpagesetupdialogdatagetenablepaper} \constfunc{bool}{GetEnablePaper}{\void} -Returns TRUE if the paper size control is enabled (Windows only). +Returns true if the paper size control is enabled (Windows only). \membersection{wxPageSetupDialogData::GetEnablePrinter}\label{wxpagesetupdialogdatagetenableprinter} \constfunc{bool}{GetEnablePrinter}{\void} -Returns TRUE if the printer setup button is enabled. +Returns true if the printer setup button is enabled. \membersection{wxPageSetupDialogData::GetEnableHelp}\label{wxpagesetupdialogdatagetenablehelp} \constfunc{bool}{GetEnableHelp}{\void} -Returns TRUE if the printer setup button is enabled. +Returns true if the printer setup button is enabled. \membersection{wxPageSetupDialogData::GetDefaultInfo}\label{wxpagesetupdialogdatagetdefaultinfo} \constfunc{bool}{GetDefaultInfo}{\void} -Returns TRUE if the dialog will simply return default printer information (such as orientation) +Returns true if the dialog will simply return default printer information (such as orientation) instead of showing a dialog. Windows only. \membersection{wxPageSetupDialogData::GetMarginTopLeft}\label{wxpagesetupdialogdatagetmargintopleft} @@ -230,27 +230,27 @@ Returns a reference to the \helpref{print data}{wxprintdata} associated with thi \constfunc{bool}{Ok}{\void} -Returns TRUE if the print data associated with the dialog data is valid. -This can return FALSE on Windows if the current printer is not set, for example. -On all other platforms, it returns TRUE. +Returns true if the print data associated with the dialog data is valid. +This can return false on Windows if the current printer is not set, for example. +On all other platforms, it returns true. \membersection{wxPageSetupDialogData::SetDefaultInfo}\label{wxpagesetupdialogdatasetdefaultinfo} \func{void}{SetDefaultInfo}{\param{bool}{ flag}} -Pass TRUE if the dialog will simply return default printer information (such as orientation) +Pass true if the dialog will simply return default printer information (such as orientation) instead of showing a dialog. Windows only. \membersection{wxPageSetupDialogData::SetDefaultMinMargins}\label{wxpagesetupdialogdatasetdefaultminmargins} \func{void}{SetDefaultMinMargins}{\param{bool}{ flag}} -Pass TRUE if the page setup dialog will take its minimum margin values from the currently +Pass true if the page setup dialog will take its minimum margin values from the currently selected printer properties. Windows only. Units are in millimetres \membersection{wxPageSetupDialogData::SetMarginTopLeft}\label{wxpagesetupdialogdatasetmargintopleft} -\func{void}{GetMarginTopLeft}{\param{const wxPoint\& }{pt}} +\func{void}{SetMarginTopLeft}{\param{const wxPoint\& }{pt}} Sets the left (x) and top (y) margins in millimetres.