+ // change the bitmap if necessary (and if we have it at all)
+ bool bmpIsDefault = !m_page->GetBitmap().Ok();
+ if ( m_statbmp && (bmpIsDefault != bmpWasDefault) )
+ {
+ wxBitmap bmp;
+ if ( bmpIsDefault )
+ bmp = m_bitmap;
+ else
+ bmp = m_page->GetBitmap();
+ m_statbmp->SetBitmap(bmp);
+ }
+