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:
@@ -71,6 +71,7 @@ public: // used by GTK callbacks
|
|||||||
private:
|
private:
|
||||||
void OnSize(wxSizeEvent&);
|
void OnSize(wxSizeEvent&);
|
||||||
virtual void AddChildGTK(wxWindowGTK* child);
|
virtual void AddChildGTK(wxWindowGTK* child);
|
||||||
|
GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
|
||||||
|
|
||||||
DECLARE_DYNAMIC_CLASS(wxCollapsiblePane)
|
DECLARE_DYNAMIC_CLASS(wxCollapsiblePane)
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
|
@@ -200,6 +200,15 @@ wxSize wxCollapsiblePane::DoGetBestSize() const
|
|||||||
return sz;
|
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)
|
void wxCollapsiblePane::Collapse(bool collapse)
|
||||||
{
|
{
|
||||||
// optimization
|
// optimization
|
||||||
|
Reference in New Issue
Block a user