]> git.saurik.com Git - wxWidgets.git/commitdiff
stub implementations
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Nov 2006 09:57:35 +0000 (09:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Nov 2006 09:57:35 +0000 (09:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/graphicc.cpp
src/msw/graphics.cpp

index 87b4360a66b37e64ce1a9b04fad978b7f91209d8..a4d2e774e1f844bd4648406e87536c52de3b9387 100755 (executable)
@@ -1172,6 +1172,8 @@ public :
 
     virtual wxGraphicsContext * CreateContext( wxWindow* window );
 
+    virtual wxGraphicsContext * CreateMeasuringContext();
+
     // Path
 
     virtual wxGraphicsPath CreatePath();
@@ -1237,6 +1239,12 @@ wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeWindow( void * windo
 #endif
 }
 
+wxGraphicsContext * wxCairoRenderer::CreateMeasuringContext()
+{
+    return NULL;
+    // TODO
+}
+
 wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
 {
     return new wxCairoContext(this, window );
index 4e847c1897b3509924084db420de538b5524bec7..a9d5c4c0651e07b414c6d944c82c61769d67cc8b 100644 (file)
@@ -1232,6 +1232,8 @@ public :
 
     virtual wxGraphicsContext * CreateContext( wxWindow* window );
 
+    virtual wxGraphicsContext * CreateMeasuringContext();
+
     // Path
 
     virtual wxGraphicsPath CreatePath();
@@ -1310,6 +1312,14 @@ wxGraphicsContext * wxGDIPlusRenderer::CreateContext( const wxWindowDC& dc)
     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();