Fix compile problem with VS 2005

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-03-15 08:44:28 +00:00
parent e95c145cc8
commit b1c6a00e63
2 changed files with 3 additions and 2 deletions

View File

@@ -1115,8 +1115,9 @@ void wxDCBase::CalculateEllipticPoints( wxList* points,
} }
else else
{ {
wxNode* node;
// 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(); wxObject *p = node->Data();
points->Append( p ); points->Append( p );

View File

@@ -523,7 +523,7 @@ public:
HRESULT STDMETHODCALLTYPE LockContainer(BOOL){return S_OK;} HRESULT STDMETHODCALLTYPE LockContainer(BOOL){return S_OK;}
//********************IOleItemContainer*************************** //********************IOleItemContainer***************************
HRESULT STDMETHODCALLTYPE HRESULT STDMETHODCALLTYPE
#ifdef __WXWINCE__ #if defined(__WXWINCE__) && __VISUALC__ < 1400
GetObject GetObject
#elif defined(_UNICODE) #elif defined(_UNICODE)
GetObjectW GetObjectW