Fix for MSVC 6 compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
091f5bedb4
commit
6b6e73390c
@ -1172,7 +1172,8 @@ void wxActiveX::GetTypeInfo(ITypeInfo *ti, bool defInterface, bool defEventSink)
|
||||
|
||||
// Get properties
|
||||
// See bug #1280715 in the wxActiveX SF project
|
||||
for (int i = 0; i < ta->cVars; i++) {
|
||||
int i;
|
||||
for (i = 0; i < ta->cVars; i++) {
|
||||
VARDESC FAR *vd = NULL;
|
||||
|
||||
typeInfo->GetVarDesc(i, &vd) ;
|
||||
@ -1197,7 +1198,7 @@ void wxActiveX::GetTypeInfo(ITypeInfo *ti, bool defInterface, bool defEventSink)
|
||||
}
|
||||
|
||||
// Get Function Names
|
||||
for (int i = 0; i < ta->cFuncs; i++)
|
||||
for (i = 0; i < ta->cFuncs; i++)
|
||||
{
|
||||
FUNCDESC FAR *fd = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user