X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36b89edff43aa442b866398202d874673955e79f..64b9776ca61d8d589da77c1524ae8ae9425dd826:/demos/forty/game.cpp diff --git a/demos/forty/game.cpp b/demos/forty/game.cpp index e95954131e..dcf32e42b1 100644 --- a/demos/forty/game.cpp +++ b/demos/forty/game.cpp @@ -233,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;