Also report events from wxCollapsiblePane's label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2e2e1bb254
commit
69d32cafb0
@ -71,6 +71,7 @@ public: // used by GTK callbacks
|
||||
private:
|
||||
void OnSize(wxSizeEvent&);
|
||||
virtual void AddChildGTK(wxWindowGTK* child);
|
||||
GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxCollapsiblePane)
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user