From c69051e476fb9aad54cf482c1cfaa48edef124c1 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 4 Aug 2014 16:35:23 +0000 Subject: [PATCH] forwarding printing calls to graphics context as well git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcgraph.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 176b177fbe..963dd968b9 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -320,21 +320,24 @@ void wxGCDCImpl::DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y ) CalcBoundingBox(x + w, y + h); } -bool wxGCDCImpl::StartDoc( const wxString& WXUNUSED(message) ) +bool wxGCDCImpl::StartDoc( const wxString& message ) { - return true; + return m_graphicContext->StartDoc(message); } void wxGCDCImpl::EndDoc() { + m_graphicContext->EndDoc(); } void wxGCDCImpl::StartPage() { + m_graphicContext->StartPage(); } void wxGCDCImpl::EndPage() { + m_graphicContext->EndPage(); } void wxGCDCImpl::Flush()