X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec3110ae1aaff35bba4971f325fda44d0fc24866..97d13342cc2ac77e21c38115cc6ebecac930f92a:/interface/wx/graphics.h diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index e5b1f4d58c..6bea40c644 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -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. */