avoid deprecated functions and direct struct access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -281,8 +281,8 @@ void wxCollapsiblePane::OnSize(wxSizeEvent &ev)
|
||||
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 );
|
||||
windows.Add(gtk_widget_get_window(label));
|
||||
windows.Add(gtk_widget_get_window(m_widget));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user