git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38092 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
         // copy whole ellipse, wxPoints will be deleted outside
         // copy whole ellipse, wxPoints will be deleted outside
-        for( wxNode *node = pointsarray[0].First(); node; node = node->Next() )
+        for( node = pointsarray[0].First(); node; node = node->Next() )
         {
             wxObject *p = node->Data();
             points->Append( p );
         {
             wxObject *p = node->Data();
             points->Append( p );
 
     HRESULT STDMETHODCALLTYPE LockContainer(BOOL){return S_OK;}
     //********************IOleItemContainer***************************
     HRESULT STDMETHODCALLTYPE
     HRESULT STDMETHODCALLTYPE LockContainer(BOOL){return S_OK;}
     //********************IOleItemContainer***************************
     HRESULT STDMETHODCALLTYPE
+    #if defined(__WXWINCE__) && __VISUALC__ < 1400
     GetObject
     #elif defined(_UNICODE)
     GetObjectW
     GetObject
     #elif defined(_UNICODE)
     GetObjectW