GdkWindow* wxComboBox::GTKGetWindow(wxArrayGdkWindows& /* windows */) const { #ifdef __WXGTK3__ return GTKFindWindow(GTK_WIDGET(GetEntry())); #else return gtk_entry_get_text_window(GetEntry()); #endif }
GdkWindow *wxSpinButton::GTKGetWindow(wxArrayGdkWindows& WXUNUSED_IN_GTK2(windows)) const { #ifdef __WXGTK3__ GTKFindWindow(m_widget, windows); return NULL; #else return GTK_SPIN_BUTTON(m_widget)->panel; #endif }
GdkWindow *wxNotebook::GTKGetWindow(wxArrayGdkWindows& windows) const { windows.push_back(gtk_widget_get_window(m_widget)); #ifdef __WXGTK3__ GdkWindow* window = GTKFindWindow(m_widget); if (window) windows.push_back(window); #else windows.push_back(GTK_NOTEBOOK(m_widget)->event_window); #endif return NULL; }