]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
Use renderer to draw checkmark
[wxWidgets.git] / src / gtk / combobox.cpp
index 1fdea4fd204e689369d8d7270c62aca6ba3e1617..eb6ffdd4274573dd0740fa0d0b391c82b64ce2ba 100644 (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 );