From: Vadim Zeitlin Date: Tue, 25 Sep 2012 10:50:07 +0000 (+0000) Subject: Fix too hastily copy-pasted wxVariantDataSafeArray documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a7cf6f55567d4427023a51b9fb9d282a9b2338fb Fix too hastily copy-pasted wxVariantDataSafeArray documentation. Some parts were not updated after copying them from wxVariantDataErrorCode. Closes #14689. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/msw/ole/automtn.h b/interface/wx/msw/ole/automtn.h index cfa2cb7144..0320b16111 100644 --- a/interface/wx/msw/ole/automtn.h +++ b/interface/wx/msw/ole/automtn.h @@ -254,7 +254,7 @@ public: for ( unsigned col = 0; col < colCount; col++ ) { indices[1] = col; - if ( !safeArray.SetElement(indices, wxString::Format("R%ud C%ud", i+1, j+1)) )( + if ( !safeArray.SetElement(indices, wxString::Format("R%u C%u", row+1, col+1)) ) return false; } } @@ -314,8 +314,8 @@ public: void SetValue(SAFEARRAY* value); /** - Returns true if @a data is of wxVariantDataErrorCode type - and contains the same SCODE value. + Returns true if @a data is of wxVariantDataSafeArray type + and contains the same SAFEARRAY* value. */ virtual bool Eq(wxVariantData& data) const; @@ -323,7 +323,7 @@ public: Fills the provided string with the textual representation of this object. - The error code is just a number, so it's output as such. + Only the address of SAFEARRAY pointer is output. */ virtual bool Write(wxString& str) const;