]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/collpane.cpp
fix wxGTK1 compilation after wxTextEntry DoGetValue() change
[wxWidgets.git] / src / gtk / collpane.cpp
index ec04fb67f26b7524cee69e36f6d10804405665f2..c4a2699d14fbae7d4b14824c37396655b34ddceb 100644 (file)
@@ -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