Implement access to a global toplevel GdkWindow in a way that does not require always having an extra GtkWindow.

And don't use "RootWindow" in the name, it is not a root window in the X11 sense.
Also add wxGetPangoContext() to get access to a PangoContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-05-05 15:53:27 +00:00
parent 70387b4857
commit a0f10ec1d6
10 changed files with 96 additions and 82 deletions

View File

@@ -680,6 +680,12 @@ PangoContext* wxApp::GetPangoContext()
return s_pangoContext;
}
PangoContext* wxGetPangoContext()
{
PangoContext* context = wxTheApp->GetPangoContext();
g_object_ref(context);
return context;
}
#endif // wxUSE_UNICODE
WXColormap wxApp::GetMainColormap(WXDisplay* display)