stub implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1172,6 +1172,8 @@ public :
|
|||||||
|
|
||||||
virtual wxGraphicsContext * CreateContext( wxWindow* window );
|
virtual wxGraphicsContext * CreateContext( wxWindow* window );
|
||||||
|
|
||||||
|
virtual wxGraphicsContext * CreateMeasuringContext();
|
||||||
|
|
||||||
// Path
|
// Path
|
||||||
|
|
||||||
virtual wxGraphicsPath CreatePath();
|
virtual wxGraphicsPath CreatePath();
|
||||||
@@ -1237,6 +1239,12 @@ wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeWindow( void * windo
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxGraphicsContext * wxCairoRenderer::CreateMeasuringContext()
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
|
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
|
||||||
{
|
{
|
||||||
return new wxCairoContext(this, window );
|
return new wxCairoContext(this, window );
|
||||||
|
@@ -1232,6 +1232,8 @@ public :
|
|||||||
|
|
||||||
virtual wxGraphicsContext * CreateContext( wxWindow* window );
|
virtual wxGraphicsContext * CreateContext( wxWindow* window );
|
||||||
|
|
||||||
|
virtual wxGraphicsContext * CreateMeasuringContext();
|
||||||
|
|
||||||
// Path
|
// Path
|
||||||
|
|
||||||
virtual wxGraphicsPath CreatePath();
|
virtual wxGraphicsPath CreatePath();
|
||||||
@@ -1310,6 +1312,14 @@ wxGraphicsContext * wxGDIPlusRenderer::CreateContext( const wxWindowDC& dc)
|
|||||||
return new wxGDIPlusContext(this,(HDC) dc.GetHDC());
|
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 )
|
wxGraphicsContext * wxGDIPlusRenderer::CreateContextFromNativeContext( void * context )
|
||||||
{
|
{
|
||||||
EnsureIsLoaded();
|
EnsureIsLoaded();
|
||||||
|
Reference in New Issue
Block a user