// 1) need to update our size hints
// NB: this function call won't actually do any long operation
- // (redraw/relayouting/resizing) so that it's flicker-free
+ // (redraw/relayout/resize) so that it's flicker-free
p->SetMinSize(sz);
if (p->HasFlag(wxCP_NO_TLW_RESIZE))
// transition. This may be sometimes undesired but *is*
// necessary and if you look carefully, all GTK+ programs using
// GtkExpander perform this trick (e.g. the standard "open file"
- // dialog of GTK+>=2.4 is not resizeable when the expander is
+ // dialog of GTK+>=2.4 is not resizable when the expander is
// collapsed!)
gtk_window_set_resizable (GTK_WINDOW (top->m_widget), p->IsExpanded());
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;
}