Warning fixes for VC5.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-08-29 09:57:41 +00:00
parent 119a78753d
commit c2b2c10ed6
2 changed files with 3 additions and 3 deletions

View File

@@ -7957,8 +7957,8 @@ void wxGrid::DrawTextRectangle(wxDC& dc,
continue;
}
long lineWidth,
lineHeight;
long lineWidth = 0,
lineHeight = 0;
dc.GetTextExtent(line, &lineWidth, &lineHeight);
switch ( horizAlign )