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();