// 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) ;
}
// Get Function Names
- for (int i = 0; i < ta->cFuncs; i++)
+ for (i = 0; i < ta->cFuncs; i++)
{
FUNCDESC FAR *fd = NULL;
{
wxLogTrace(wxT(""),wxT("repainting activex win"));
wxPaintDC dc(this);
- dc.BeginDrawing();
int w, h;
GetSize(&w, &h);
RECT posRect;
dc.DrawRectangle(0, 0, w, h);
dc.SetBrush(wxNullBrush);
}
- dc.EndDrawing();
}