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
This commit is contained in:
@@ -254,7 +254,7 @@ public:
|
|||||||
for ( unsigned col = 0; col < colCount; col++ )
|
for ( unsigned col = 0; col < colCount; col++ )
|
||||||
{
|
{
|
||||||
indices[1] = 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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -314,8 +314,8 @@ public:
|
|||||||
void SetValue(SAFEARRAY* value);
|
void SetValue(SAFEARRAY* value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns true if @a data is of wxVariantDataErrorCode type
|
Returns true if @a data is of wxVariantDataSafeArray type
|
||||||
and contains the same SCODE value.
|
and contains the same SAFEARRAY* value.
|
||||||
*/
|
*/
|
||||||
virtual bool Eq(wxVariantData& data) const;
|
virtual bool Eq(wxVariantData& data) const;
|
||||||
|
|
||||||
@@ -323,7 +323,7 @@ public:
|
|||||||
Fills the provided string with the textual representation of this
|
Fills the provided string with the textual representation of this
|
||||||
object.
|
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;
|
virtual bool Write(wxString& str) const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user