stub implementations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-11-04 09:57:35 +00:00
parent ad66794547
commit 091ef146b7
2 changed files with 18 additions and 0 deletions

View File

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

View File

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