.\" This is a wxWidgets manpage page generated from the XML docs .TH wxPrintDialog 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxPrintDialog \- Standard print dialog .SH DESCRIPTION This class represents the print and print setup common dialogs. You may obtain a wxPrinterDC device context from a successfully dismissed print dialog. .SH "PARENTS" wxDialog wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/printdlg.h .SH MEMBERS .SS wxPrintDialog (wxWindow* parentwxPrintDialogData* data = NULL) Constructor. Pass a parent window, and optionally a pointer to a block of print data, which will be copied to the print dialog's print data. .SS ~wxPrintDialog () Destructor. If wxPrintDialog::GetPrintDC has not been called, the device context obtained by the dialog (if any) will be deleted. .SS wxPrintDialogData& GetPrintDialogData () Returns the print dialog data associated with the print dialog. .SS wxDC* GetPrintDC () Returns the device context created by the print dialog, if any. When this function has been called, the ownership of the device context is transferred to the application, so it must then be deleted explicitly. .SS int ShowModal () Shows the dialog, returning wxID_OK if the user pressed OK, and wxID_CANCEL otherwise. After this function is called, a device context may be retrievable using wxPrintDialog::GetPrintDC . .SH "SEE ALSO" wxDialog wxWindow wxEvtHandler wxObject wxPrintDialog Overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.