add missing GTK3 implementations of GTKGetWindow()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-02-09 19:53:17 +00:00
parent 1b131bf7e5
commit 8f97969383
8 changed files with 45 additions and 19 deletions

View File

@@ -594,7 +594,9 @@ GdkWindow *wxNotebook::GTKGetWindow(wxArrayGdkWindows& windows) const
{
windows.push_back(gtk_widget_get_window(m_widget));
#ifdef __WXGTK3__
// no access to internal GdkWindows
GdkWindow* window = GTKFindWindow(m_widget);
if (window)
windows.push_back(window);
#else
windows.push_back(GTK_NOTEBOOK(m_widget)->event_window);
#endif