git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28339
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
dc->SetFont(wxNullFont);
}
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() );
m_game->GetNumBombs(), m_game->GetNumRemainingCells() );
+
+#if wxUSE_LOG && wxUSE_STATUSBAR
+ wxLogStatus(msg);
+#else
+ this->GetParent()->SetTitle(msg);