Don't use some "recent" C++98 features not supported by VC6.
Don't return void values nor redeclare the same variable in for loops to fix VC6 compilation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,8 +138,6 @@ void ObjrefDialog::OnNotebookPageChanged( wxNotebookEvent &event )
|
||||
ClearCalculator();
|
||||
break;
|
||||
}
|
||||
|
||||
default: return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,7 +253,8 @@ void ObjrefDialog::OnOperatorClick(wxCommandEvent& event)
|
||||
{
|
||||
wxLogMessage("You clicked operators[%i], XRCID %d, 'Clear'",
|
||||
ID, event.GetId());
|
||||
return ClearCalculator();
|
||||
ClearCalculator();
|
||||
return;
|
||||
}
|
||||
|
||||
switch(ID)
|
||||
|
Reference in New Issue
Block a user