Added workaround for VC6 internal compiler error (fixes #11104)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
02e3338904
commit
832c54d43e
@ -456,7 +456,8 @@ void BitmapComboBoxWidgetsPage::CreateCombo()
|
||||
for ( unsigned int n = 0; n < count; n++ )
|
||||
{
|
||||
items.Add(m_combobox->GetString(n));
|
||||
bitmaps.Add(new wxBitmap(m_combobox->GetItemBitmap(n)));
|
||||
wxBitmap bmp = m_combobox->GetItemBitmap(n);
|
||||
bitmaps.Add(new wxBitmap(bmp));
|
||||
}
|
||||
|
||||
m_sizerCombo->Detach( m_combobox );
|
||||
|
Loading…
Reference in New Issue
Block a user