From: Robin Dunn Date: Thu, 9 Aug 2012 16:47:48 +0000 (+0000) Subject: Add documentation for wxPrintAbortDialog since it is now documented as a return value... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ebe4ca35ea987b1af866fa2ede73667d98dd460 Add documentation for wxPrintAbortDialog since it is now documented as a return value type. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/print.h b/interface/wx/print.h index ded2daea96..0bb296dbde 100644 --- a/interface/wx/print.h +++ b/interface/wx/print.h @@ -905,3 +905,23 @@ public: void SetLogicalOrigin(wxCoord x, wxCoord y); }; + +/** + @class wxPrintAbortDialog + + The dialog created by default by the print framework that enables aborting + the printing process. + */ +class wxPrintAbortDialog: public wxDialog +{ +public: + wxPrintAbortDialog(wxWindow *parent, + const wxString& documentTitle, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_DIALOG_STYLE, + const wxString& name = wxT("dialog")); + + void SetProgress(int currentPage, int totalPages, + int currentCopy, int totalCopies); +};