]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/graphics.h
undo the last change as it results in buildbot configuration error
[wxWidgets.git] / interface / wx / graphics.h
index e5b1f4d58cf950048765c896eac31dd7727678ad..6bea40c6444ef382d815d02aecb1690e21b93c6d 100644 (file)
@@ -700,6 +700,12 @@ public:
     */
     virtual wxGraphicsContext* CreateContextFromNativeWindow(void* window) = 0;
 
+    /**
+        Creates a wxGraphicsContext that can be used for measuring texts only. 
+        No drawing commands are allowed.
+    */
+    virtual wxGraphicsContext * CreateMeasuringContext() = 0;
+
     /**
         Creates a native graphics font from a wxFont and a text colour.
     */