]> git.saurik.com Git - wxWidgets.git/commitdiff
fix creation of wxBitmapComboBox with GTK3
authorPaul Cornett <paulcor@bullseye.com>
Sat, 14 Jul 2012 05:26:59 +0000 (05:26 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 14 Jul 2012 05:26:59 +0000 (05:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/bmpcbox.cpp

index 18ba53680335ed0f291f70f7223a5e6025023aef..672413d7986ea5165a61f240dac13e0e0731461a 100644 (file)
@@ -124,6 +124,7 @@ void wxBitmapComboBox::GTKCreateComboBoxWidget()
     {
 #ifdef __WXGTK3__
         m_widget = gtk_combo_box_new_with_model_and_entry(GTK_TREE_MODEL(store));
+        gtk_combo_box_set_entry_text_column(GTK_COMBO_BOX(m_widget), m_stringCellIndex);
 #else
         m_widget = gtk_combo_box_entry_new_with_model( GTK_TREE_MODEL(store), m_stringCellIndex );
 #endif