Compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2012-06-21 18:39:34 +00:00
parent 5da0507745
commit 59c9dd5c61

View File

@ -294,13 +294,14 @@ wxRibbonArtProvider* wxRibbonMSWArtProvider::Clone() const
void wxRibbonMSWArtProvider::CloneTo(wxRibbonMSWArtProvider* copy) const
{
for(int i = 0; i < 4; ++i)
int i;
for(i = 0; i < 4; ++i)
{
copy->m_gallery_up_bitmap[i] = m_gallery_up_bitmap[i];
copy->m_gallery_down_bitmap[i] = m_gallery_down_bitmap[i];
copy->m_gallery_extension_bitmap[i] = m_gallery_extension_bitmap[i];
}
for(int i = 0; i < 2; ++i)
for(i = 0; i < 2; ++i)
{
copy->m_panel_extension_bitmap[i] = m_panel_extension_bitmap[i];
}