X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/446659cac6be2946cc58ccc574fc8a4d1f7bad5a..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/prntbase.h diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index 8ae728d004..3faa87fab6 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -41,6 +41,7 @@ class WXDLLIMPEXP_FWD_CORE wxPrintFactory; class WXDLLIMPEXP_FWD_CORE wxPrintNativeDataBase; class WXDLLIMPEXP_FWD_CORE wxPrintPreview; class WXDLLIMPEXP_FWD_CORE wxPrintAbortDialog; +class WXDLLIMPEXP_FWD_CORE wxStaticText; class wxPrintPageMaxCtrl; class wxPrintPageTextCtrl; @@ -740,9 +741,14 @@ public: long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("dialog")); + void SetProgress(int currentPage, int totalPages, + int currentCopy, int totalCopies); + void OnCancel(wxCommandEvent& event); private: + wxStaticText *m_progress; + DECLARE_EVENT_TABLE() wxDECLARE_NO_COPY_CLASS(wxPrintAbortDialog); };