]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
0.1.8-3
[wxWidgets.git] / src / generic / wizard.cpp
index 138f1c6680fb63680f18c815680ebd550b0fd0ff..385a10d8b866151691ab633d5c0e6eefee4f1701 100644 (file)
@@ -631,7 +631,7 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
         if ( !bmpPrev.Ok() )
             bmpPrev = m_bitmap;
 
-        if ( !bmp.IsRefTo(&bmpPrev) )
+        if ( !bmp.IsSameAs(bmpPrev) )
             m_statbmp->SetBitmap(bmp);
     }
 #endif // wxUSE_STATBMP