BC++ compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,7 +249,12 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
|
||||
bool bmpIsDefault = !m_page->GetBitmap().Ok();
|
||||
if ( m_statbmp && (bmpIsDefault != bmpWasDefault) )
|
||||
{
|
||||
m_statbmp->SetBitmap(bmpIsDefault ? m_bitmap : m_page->GetBitmap());
|
||||
wxBitmap bmp;
|
||||
if ( bmpIsDefault )
|
||||
bmp = m_bitmap;
|
||||
else
|
||||
bmp = m_page->GetBitmap();
|
||||
m_statbmp->SetBitmap(bmp);
|
||||
}
|
||||
|
||||
// and update the buttons state
|
||||
|
Reference in New Issue
Block a user