m_leftBtnDown(false)
{
SetScrollbars(0, 0, 0, 0);
m_leftBtnDown(false)
{
SetScrollbars(0, 0, 0, 0);
#ifdef __WXGTK__
m_font = wxTheFontList->FindOrCreateFont(12, wxROMAN, wxNORMAL, wxNORMAL);
#ifdef __WXGTK__
m_font = wxTheFontList->FindOrCreateFont(12, wxROMAN, wxNORMAL, wxNORMAL);
m_scoreFile = new ScoreFile(name);
m_game = new Game(0, 0, 0);
m_game->Deal();
m_scoreFile = new ScoreFile(name);
m_game = new Game(0, 0, 0);
m_game->Deal();
#if 0
// if player name not set (and selection dialog is not displayed)
// then ask the player for their name
#if 0
// if player name not set (and selection dialog is not displayed)
// then ask the player for their name
{
m_playerDialog = new PlayerSelectionDialog(this, m_scoreFile);
m_playerDialog->ShowModal();
m_player = m_playerDialog->GetPlayersName();
{
m_playerDialog = new PlayerSelectionDialog(this, m_scoreFile);
m_playerDialog->ShowModal();
m_player = m_playerDialog->GetPlayersName();
{
// if player name not set (and selection dialog is not displayed)
// then ask the player for their name
{
// if player name not set (and selection dialog is not displayed)
// then ask the player for their name
{
m_playerDialog = new PlayerSelectionDialog(this, m_scoreFile);
m_playerDialog->ShowModal();
m_player = m_playerDialog->GetPlayersName();
{
m_playerDialog = new PlayerSelectionDialog(this, m_scoreFile);
m_playerDialog->ShowModal();
m_player = m_playerDialog->GetPlayersName();
- wxMessageBox(_T("Are you sure you want to\nabandon the current game?"),
- _T("Warning"), wxYES_NO | wxICON_QUESTION) == wxNO)
+ wxMessageBox(wxT("Are you sure you want to\nabandon the current game?"),
+ wxT("Warning"), wxYES_NO | wxICON_QUESTION) == wxNO)