update for bakefile 0.2.6
[wxWidgets.git] / demos / forty / game.cpp
index 088193e839d686e1c88386df42c22587e2ee10b9..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;
@@ -824,7 +824,7 @@ Pack::~Pack()
     {
         delete m_cards[m_topCard];
     }
-};
+}
 
 
 //------------------------------------------------------//