+ return gtk_widget_get_window(m_widget);
+}
+
+wxSize wxChoice::DoGetBestSize() const
+{
+ // Get the height of the control from GTK+ itself, but use our own version
+ // to compute the width large enough to show all our strings as GTK+
+ // doesn't seem to take the control contents into account.
+ return wxSize(wxChoiceBase::DoGetBestSize().x + 40,
+ wxControl::DoGetBestSize().y);