X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9205cb3f269c523d8dbe5380c5cedb9cb6aae8e7..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/msw/ole/dataobj.cpp diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index 12858fb2b6..e26a1ea1d5 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -106,7 +106,7 @@ public: virtual ~wxIDataObject(); // normally, wxDataObject controls our lifetime (i.e. we're deleted when it - // is), but in some cases, the situation is inversed, that is we delete it + // is), but in some cases, the situation is reversed, that is we delete it // when this object is deleted - setting this flag enables such logic void SetDeleteFlag() { m_mustDelete = true; } @@ -500,7 +500,7 @@ STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc, // we suppose that the size precedes the data pBuf = m_pDataObject->GetSizeFromBuffer( pBuf, &size, format ); if (! format.IsStandard() ) { - // see GetData for coresponding increment + // see GetData for corresponding increment size -= m_pDataObject->GetBufferOffset( format ); } }