X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36b89edff43aa442b866398202d874673955e79f..fa2b309e782464cffe7163d03a740a32fa385af5:/demos/forty/game.cpp?ds=sidebyside 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;