git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual wxGraphicsContext * CreateContext( wxWindow* window );
+ virtual wxGraphicsContext * CreateMeasuringContext();
+
// Path
virtual wxGraphicsPath CreatePath();
#endif
}
+wxGraphicsContext * wxCairoRenderer::CreateMeasuringContext()
+{
+ return NULL;
+ // TODO
+}
+
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
{
return new wxCairoContext(this, window );
virtual wxGraphicsContext * CreateContext( wxWindow* window );
+ virtual wxGraphicsContext * CreateMeasuringContext();
+
// Path
virtual wxGraphicsPath CreatePath();
return new wxGDIPlusContext(this,(HDC) dc.GetHDC());
}
+wxGraphicsContext * wxGDIPlusRenderer::CreateMeasuringContext()
+{
+ EnsureIsLoaded();
+ return NULL;
+ // TODO use GetDC(NULL) but then we have to release it from the context
+ //return new wxGDIPlusContext(this,(HDC) dc.GetHDC());
+}
+
wxGraphicsContext * wxGDIPlusRenderer::CreateContextFromNativeContext( void * context )
{
EnsureIsLoaded();