Warning fixes for VC5 (Igor Korot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7484,8 +7484,8 @@ void wxGrid::DrawTextRectangle( wxDC& dc,
|
||||
int vertAlign,
|
||||
int textOrientation )
|
||||
{
|
||||
long textWidth, textHeight;
|
||||
long lineWidth, lineHeight;
|
||||
long textWidth = 0, textHeight = 0;
|
||||
long lineWidth = 0, lineHeight = 0;
|
||||
int nLines;
|
||||
|
||||
dc.SetClippingRegion( rect );
|
||||
@@ -7614,7 +7614,7 @@ void wxGrid::GetTextBoxSize( const wxDC& dc,
|
||||
{
|
||||
long w = 0;
|
||||
long h = 0;
|
||||
long lineW, lineH;
|
||||
long lineW = 0, lineH = 0;
|
||||
|
||||
size_t i;
|
||||
for ( i = 0; i < lines.GetCount(); i++ )
|
||||
|
Reference in New Issue
Block a user