git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71684
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
ENSURE_LOADED_OR_RETURN(NULL);
#ifdef __WXGTK__
return CreateContextFromNativeWindow(gdk_get_default_root_window());
-#endif
+#else
return NULL;
// TODO
+#endif
}
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
*reason = _("This program was compiled with a too old version of GTK+, "
"please rebuild with GTK+ 2.12 or newer.");
}
-#endif // wxGTK_HAS_COMPOSITING_SUPPORT/!wxGTK_HAS_COMPOSITING_SUPPORT
return false;
+#endif // wxGTK_HAS_COMPOSITING_SUPPORT/!wxGTK_HAS_COMPOSITING_SUPPORT
}
// ----------------------------------------------------------------------------