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
This commit is contained in:
Stefan Csomor 2014-08-04 16:35:23 +00:00
parent bc4261e3c7
commit c69051e476

View File

@ -320,21 +320,24 @@ void wxGCDCImpl::DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y )
CalcBoundingBox(x + w, y + h); 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() void wxGCDCImpl::EndDoc()
{ {
m_graphicContext->EndDoc();
} }
void wxGCDCImpl::StartPage() void wxGCDCImpl::StartPage()
{ {
m_graphicContext->StartPage();
} }
void wxGCDCImpl::EndPage() void wxGCDCImpl::EndPage()
{ {
m_graphicContext->EndPage();
} }
void wxGCDCImpl::Flush() void wxGCDCImpl::Flush()