Fixed warning, reformatted some code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-02-18 15:39:23 +00:00
parent d43851f77e
commit 038a5591e4

View File

@@ -7133,7 +7133,7 @@ void wxGrid::DrawTextRectangle( wxDC& dc,
if( nLines > 0 ) if( nLines > 0 )
{ {
int l; int l;
float x, y; float x = 0.0, y = 0.0;
if( textOrientation == wxHORIZONTAL ) if( textOrientation == wxHORIZONTAL )
GetTextBoxSize(dc, lines, &textWidth, &textHeight); GetTextBoxSize(dc, lines, &textWidth, &textHeight);