From c4208367a13a54e71916800eea48bdbe3f5497d5 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 27 May 1999 15:37:44 +0000 Subject: [PATCH] compile fixes. Vadim ows me a pizza. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/progdlgg.h | 2 +- src/generic/printps.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index b8f0a09f59..eaf4cc7177 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -82,7 +82,7 @@ private: Finished // finished, waiting to be removed from screen } m_state; /// the abort button (or NULL if none) - wxButton *m_btnAbort; + class wxButton *m_btnAbort; /// the maximum value int m_maximum; diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index 56f95f3067..e9b819b6fc 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -176,9 +176,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro printout->GetTitle(), _("Printing..."), totalPages, - parent, - /* disable parent only */ true, - /* show abort button */ true); + parent ); printout->OnBeginPrinting(); -- 2.45.2