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:
@@ -790,12 +790,17 @@ wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp
|
||||
#endif
|
||||
}
|
||||
|
||||
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)
|
||||
/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)
|
||||
{
|
||||
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
|
||||
}
|
||||
|
||||
wxGraphicsContext* wxGraphicsContext::Create( const wxMemoryDC& dc)
|
||||
/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxMemoryDC& dc)
|
||||
{
|
||||
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
|
||||
}
|
||||
|
||||
/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxPrinterDC& dc)
|
||||
{
|
||||
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user