]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbrma.cpp
Added extra width for controls to avoid edge being clipped
[wxWidgets.git] / src / mac / carbon / statbrma.cpp
index 9bca84cca9e9f58fca400edf4d115d18eb3d2434..b302d82ab659502735eb410d0379eb44dde5cb27 100644 (file)
@@ -79,8 +79,7 @@ void wxStatusBarMac::DrawFieldText(wxDC& dc, int i)
 
     wxString text(GetStatusText( i ));
 
-    long x, y;
-
+    wxCoord x, y;
     dc.GetTextExtent(text, &x, &y);
 
     int leftMargin = 2;