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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user