X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/254a21292b0ccf234ed1dbc6acd37708672ffcc0..191e43fd02e958cd302049c469fb0f5ca9b67ceb:/demos/forty/game.cpp diff --git a/demos/forty/game.cpp b/demos/forty/game.cpp index 4226e58c71..dcf32e42b1 100644 --- a/demos/forty/game.cpp +++ b/demos/forty/game.cpp @@ -11,11 +11,6 @@ // Last modified: 22nd July 1998 - ported to wxWidgets 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -238,9 +233,9 @@ void Game::DisplayScore(wxDC& dc) m_pack->GetTopCardPos(x, y); x += 12 * CardWidth - 105; - int w, h; + wxCoord w, h; { - long width, height; + wxCoord width, height; dc.GetTextExtent(_T("Average score:m_x"), &width, &height); w = width; h = height; @@ -829,7 +824,7 @@ Pack::~Pack() { delete m_cards[m_topCard]; } -}; +} //------------------------------------------------------//