]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
underscors are handled better in the menu item labels
[wxWidgets.git] / src / msw / dc.cpp
index f424405768d840d002d44ca63677659eaf6162f9..fa195426e2602c671aeadc57820e3f1e5f60a9b8 100644 (file)
@@ -377,8 +377,8 @@ void wxDC::DoDrawArc(long x1,long y1,long x2,long y2, long xc, long yc)
         Arc(GetHdc(),xxx1,yyy1,xxx2,yyy2,
         xx1,yy1,xx2,yy2);
 
-    CalcBoundingBox((xc-radius), (yc-radius));
-    CalcBoundingBox((xc+radius), (yc+radius));
+    CalcBoundingBox((long)(xc-radius), (long)(yc-radius));
+    CalcBoundingBox((long)(xc+radius), (long)(yc+radius));
 }
 
 void wxDC::DoDrawPoint(long x, long y)