projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea5687
)
BC++ compilation fix
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 21 Jan 2000 21:51:51 +0000
(21:51 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 21 Jan 2000 21:51:51 +0000
(21:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5573
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/wizard.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/wizard.cpp
b/src/generic/wizard.cpp
index 9c0e7739439136d7282d7349a26ce69097afcae1..34ef1e74952d6915c3b9cdca9364721e45155376 100644
(file)
--- a/
src/generic/wizard.cpp
+++ b/
src/generic/wizard.cpp
@@
-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