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:
@@ -116,6 +116,12 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
|
|||||||
|
|
||||||
m_widget = gtk_combo_box_entry_new_text();
|
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();
|
GtkEntry * const entry = GetEntry();
|
||||||
|
|
||||||
gtk_entry_set_editable( entry, TRUE );
|
gtk_entry_set_editable( entry, TRUE );
|
||||||
|
Reference in New Issue
Block a user