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:
@@ -28,10 +28,6 @@ public:
|
||||
|
||||
virtual ~wxWindowDCImpl();
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
virtual wxGraphicsContext* CreateGraphicsContext();
|
||||
#endif
|
||||
|
||||
virtual bool CanDrawBitmap() const { return true; }
|
||||
virtual bool CanGetTextExtent() const { return true; }
|
||||
|
||||
|
@@ -26,10 +26,6 @@ public:
|
||||
|
||||
virtual ~wxMemoryDCImpl();
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
virtual wxGraphicsContext* CreateGraphicsContext();
|
||||
#endif
|
||||
|
||||
// these get reimplemented for mono-bitmaps to behave
|
||||
// more like their Win32 couterparts. They now interpret
|
||||
// wxWHITE, wxWHITE_BRUSH and wxWHITE_PEN as drawing 0
|
||||
|
@@ -227,9 +227,7 @@ public:
|
||||
bool Ok() const { return IsOk(); }
|
||||
bool IsOk() const;
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
virtual wxGraphicsContext* CreateGraphicsContext();
|
||||
#endif
|
||||
virtual void* GetCairoContext() const;
|
||||
|
||||
bool CanDrawBitmap() const { return true; }
|
||||
void Clear();
|
||||
|
Reference in New Issue
Block a user