]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/game.cpp
scrolling windows need wx[HV]SCROLL style
[wxWidgets.git] / demos / forty / game.cpp
index e95954131e227e742c2fbb87e280fbad9774a6e2..dcf32e42b1d9ebfad9642351ebdd9ba2a4eaf716 100644 (file)
@@ -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;