]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/bombs/bombs1.cpp
implement propert background style semantics for OS X
[wxWidgets.git] / demos / bombs / bombs1.cpp
index a2d874e20dff20e798f1662422226400bb5c5760..19549cb8825a7b842e17a4aafe885671da46b2d9 100644 (file)
  * class BombsCanvas
  */
 
-#ifdef __GNUG__
-#   pragma implementation
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -36,7 +32,7 @@
 void BombsCanvas::DrawField(wxDC *dc, int xc1, int yc1, int xc2, int yc2)
 {
     wxString buf;
-    long chw, chh;
+    wxCoord chw, chh;
 
     wxColour wxYellow  = wxTheColourDatabase->Find(wxT("YELLOW"));
     wxColour wxFocused = wxTheColourDatabase->Find(wxT("GREY"));