fix creation of wxBitmapComboBox with GTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user