X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b53aea81d2e102224b452ef5bf7aee1132f37c6f..55410bb4f67febe1ca20654f078ea4fb9a6223ae:/src/gtk/collpane.cpp diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index ec04fb67f2..c4a2699d14 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -31,7 +31,7 @@ const char wxCollapsiblePaneNameStr[] = "collapsiblePane"; -wxDEFINE_EVENT( wxEVT_COMMAND_COLLPANE_CHANGED, wxCollapsiblePaneEvent ) +wxDEFINE_EVENT( wxEVT_COMMAND_COLLPANE_CHANGED, wxCollapsiblePaneEvent ); IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneEvent, wxCommandEvent) @@ -200,6 +200,15 @@ wxSize wxCollapsiblePane::DoGetBestSize() const return sz; } +GdkWindow *wxCollapsiblePane::GTKGetWindow(wxArrayGdkWindows& windows) const +{ + GtkWidget *label = gtk_expander_get_label_widget( GTK_EXPANDER(m_widget) ); + windows.Add( label->window ); + windows.Add( m_widget->window ); + + return NULL; +} + void wxCollapsiblePane::Collapse(bool collapse) { // optimization