From 90fae9d2cfd82625c8c8279660237514470bc31a Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 9 Feb 2011 19:11:13 +0000 Subject: [PATCH] Added missing wxBitmapComboBox::Insert() implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/bmpcbox.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/gtk/bmpcbox.cpp b/src/gtk/bmpcbox.cpp index 7743cd1465..3ec26bd7c8 100644 --- a/src/gtk/bmpcbox.cpp +++ b/src/gtk/bmpcbox.cpp @@ -277,6 +277,15 @@ int wxBitmapComboBox::Insert(const wxString& item, const wxBitmap& bitmap, return n; } +int wxBitmapComboBox::Insert(const wxString& item, const wxBitmap& bitmap, + unsigned int pos, void *clientData) +{ + const int n = wxComboBox::Insert(item, pos, clientData); + if ( n != wxNOT_FOUND ) + SetItemBitmap(n, bitmap); + return n; +} + void wxBitmapComboBox::GTKInsertComboBoxTextItem( unsigned int n, const wxString& text ) { GtkComboBox* combobox = GTK_COMBO_BOX( m_widget ); -- 2.47.2