Workaround for VC6 IDE internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -399,7 +399,8 @@ void BitmapComboBoxWidgetsPage::CreateCombo()
|
|||||||
for ( unsigned int n = 0; n < count; n++ )
|
for ( unsigned int n = 0; n < count; n++ )
|
||||||
{
|
{
|
||||||
items.Add(m_combobox->GetString(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 );
|
m_sizerCombo->Detach( m_combobox );
|
||||||
|
Reference in New Issue
Block a user