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:
parent
ee2d93aed0
commit
2f5157911b
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user