}
if ( m_strings )
- m_strings->Remove(n);
+ m_strings->RemoveAt(n);
}
// ----------------------------------------------------------------------------
bool wxListBox::IsOwnGtkWindow( GdkWindow *window )
{
+ if (m_widget->window == window) return TRUE;
+
if (GTK_WIDGET(m_list)->window == window) return TRUE;
GList *child = m_list->children;
}
}
- UpdateWindowUI();
+ if (wxUpdateUIEvent::CanUpdate())
+ UpdateWindowUI();
}
wxSize wxListBox::DoGetBestSize() const