]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
moved assertdlg_gtk.[ch] to GTK_LOWLEVEL_SRC/HDR to fix wxUniv/GTK build
[wxWidgets.git] / src / generic / wizard.cpp
index b9e6ecae67613ac4aaf6a441610c8ee23ed876ea..385a10d8b866151691ab633d5c0e6eefee4f1701 100644 (file)
     #include "wx/statbmp.h"
     #include "wx/button.h"
     #include "wx/settings.h"
     #include "wx/statbmp.h"
     #include "wx/button.h"
     #include "wx/settings.h"
+    #include "wx/sizer.h"
 #endif //WX_PRECOMP
 
 #include "wx/statline.h"
 #endif //WX_PRECOMP
 
 #include "wx/statline.h"
-#include "wx/sizer.h"
 
 #include "wx/wizard.h"
 
 
 #include "wx/wizard.h"
 
@@ -631,7 +631,7 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
         if ( !bmpPrev.Ok() )
             bmpPrev = m_bitmap;
 
         if ( !bmpPrev.Ok() )
             bmpPrev = m_bitmap;
 
-        if ( bmp != bmpPrev )
+        if ( !bmp.IsSameAs(bmpPrev) )
             m_statbmp->SetBitmap(bmp);
     }
 #endif // wxUSE_STATBMP
             m_statbmp->SetBitmap(bmp);
     }
 #endif // wxUSE_STATBMP