Some BC++ 4.5 and other compile fixes; changed FAR definition to WXFAR

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-02-06 11:48:14 +00:00
parent 0bd62129f6
commit 790ad94f70
9 changed files with 34 additions and 12 deletions

View 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 );