Added missing wxBitmapComboBox::Insert() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user