Fix wxPen and wxBrush style deprecation warnings in utils
Fix a warning about hidden local variable in the helpview util.
This commit is contained in:
@@ -119,15 +119,15 @@ bool hvApp::OnInit()
|
||||
}
|
||||
else if ( argStr.Find( wxT("--Style") ) >= 0 )
|
||||
{
|
||||
long i;
|
||||
long style;
|
||||
wxString numb = argStr.AfterLast(wxT('e'));
|
||||
if ( !(numb.ToLong(&i) ) )
|
||||
if ( !(numb.ToLong(&style) ) )
|
||||
{
|
||||
wxLogError( wxT("Integer conversion failed for --Style") );
|
||||
}
|
||||
else
|
||||
{
|
||||
istyle = i;
|
||||
istyle = style;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user