]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
Some BC++ 4.5 and other compile fixes; changed FAR definition to WXFAR
[wxWidgets.git] / src / generic / grid.cpp
index 41b3053e088457f60c9d14d4e9d34346f1a5634c..e856345409280ae21293a40ce3c6fe924a42d079 100644 (file)
@@ -710,7 +710,7 @@ void wxGridRowLabelWindow::OnPaint( wxPaintEvent &event )
     //
     // m_owner->PrepareDC( dc );
 
-    wxCoord x, y;
+    int x, y;
     m_owner->CalcUnscrolledPosition( 0, 0, &x, &y );
     dc.SetDeviceOrigin( 0, -y );
 
@@ -763,7 +763,7 @@ void wxGridColLabelWindow::OnPaint( wxPaintEvent &event )
     //
     // m_owner->PrepareDC( dc );
 
-    wxCoord x, y;
+    int x, y;
     m_owner->CalcUnscrolledPosition( 0, 0, &x, &y );
     dc.SetDeviceOrigin( -x, 0 );