Unsuccesfully tries to remove border from wxComboBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-11-17 13:34:28 +00:00
parent ee2d93aed0
commit 2f5157911b

View File

@ -111,11 +111,17 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
return false;
}
if(HasFlag(wxCB_SORT))
if (HasFlag(wxCB_SORT))
m_strings = new wxSortedArrayString();
m_widget = gtk_combo_box_entry_new_text();
if (HasFlag(wxBORDER_NONE))
{
// Doesn't seem to work
// g_object_set (m_widget, "has-frame", FALSE, NULL);
}
GtkEntry * const entry = GetEntry();
gtk_entry_set_editable( entry, TRUE );