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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user