From 2f5157911b5ff06d054e3b52320a0d3bf83ef6cb Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 17 Nov 2007 13:34:28 +0000 Subject: [PATCH] Unsuccesfully tries to remove border from wxComboBox git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/combobox.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 1fdea4fd20..eb6ffdd427 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -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 ); -- 2.45.2