Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1159,12 +1159,10 @@ bool wxGtkPrinterDCImpl::IsOk() const
|
||||
return m_gpc != NULL;
|
||||
}
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
wxGraphicsContext* wxGtkPrinterDCImpl::CreateGraphicsContext()
|
||||
void* wxGtkPrinterDCImpl::GetCairoContext() const
|
||||
{
|
||||
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContextFromNativeContext( (void*) m_cairo );
|
||||
return (void*) cairo_reference( m_cairo );
|
||||
}
|
||||
#endif
|
||||
|
||||
bool wxGtkPrinterDCImpl::DoFloodFill(wxCoord WXUNUSED(x1),
|
||||
wxCoord WXUNUSED(y1),
|
||||
|
Reference in New Issue
Block a user