Backport of r60246.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-04-19 19:51:59 +00:00
parent e699477d3c
commit cf8f51dfdd

View 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.
*/