}
dc->SetFont(wxNullFont);
-#if wxUSE_LOG
- wxLogStatus(wxT("%d bombs %d remaining cells"),
+ wxString msg;
+ msg.Printf(wxT("%d bombs %d remaining cells"),
m_game->GetNumBombs(), m_game->GetNumRemainingCells() );
+
+#if wxUSE_LOG && wxUSE_STATUSBAR
+ wxLogStatus(msg);
+#else
+ this->GetParent()->SetTitle(msg);
#endif
}