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:
Robin Dunn
2006-01-13 05:22:16 +00:00
parent 091f5bedb4
commit 6b6e73390c

View File

@@ -1172,7 +1172,8 @@ void wxActiveX::GetTypeInfo(ITypeInfo *ti, bool defInterface, bool defEventSink)
// Get properties // Get properties
// See bug #1280715 in the wxActiveX SF project // 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; VARDESC FAR *vd = NULL;
typeInfo->GetVarDesc(i, &vd) ; typeInfo->GetVarDesc(i, &vd) ;
@@ -1197,7 +1198,7 @@ void wxActiveX::GetTypeInfo(ITypeInfo *ti, bool defInterface, bool defEventSink)
} }
// Get Function Names // Get Function Names
for (int i = 0; i < ta->cFuncs; i++) for (i = 0; i < ta->cFuncs; i++)
{ {
FUNCDESC FAR *fd = NULL; FUNCDESC FAR *fd = NULL;