Implement CreateMeasuringContext for GTK/Cairo (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1464,6 +1464,9 @@ wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeWindow( void * windo
|
||||
|
||||
wxGraphicsContext * wxCairoRenderer::CreateMeasuringContext()
|
||||
{
|
||||
#ifdef __WXGTK__
|
||||
return CreateContextFromNativeWindow(gdk_get_default_root_window());
|
||||
#endif
|
||||
return NULL;
|
||||
// TODO
|
||||
}
|
||||
|
Reference in New Issue
Block a user