X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57f2175441c318e0c39c0e44e606194fd875b5bc..b4c1fe36b9854cdb404906ba3a181a67f9247e0e:/interface/wx/any.h diff --git a/interface/wx/any.h b/interface/wx/any.h index 5623c8d9e0..2f96ade0e7 100644 --- a/interface/wx/any.h +++ b/interface/wx/any.h @@ -66,7 +66,7 @@ @library{wxbase} @category{data} - @see wxAnyValueType, wxVariant + @see wxAnyValueType, wxVariant, @ref overview_cpp_rtti_disabled */ class wxAny { @@ -321,6 +321,8 @@ union wxAnyValueBuffer wxAnyValueBuffer& dst) const { // TODO: Copy value from one buffer to another. + // dst is already uninitialized and does not + // need to be freed. } virtual bool ConvertValue(const wxAnyValueBuffer& src, @@ -394,9 +396,14 @@ public: wxAnyValueBuffer& dst) const = 0; /** - Implement this for buffer-to-buffer copy. src.m_ptr can - be expected to be NULL if value type of previously stored - data was different. + Implement this for buffer-to-buffer copy. + + @param src + This is the source data buffer. + + @param dst + This is the destination data buffer that is in either + uninitialized or freed state. */ virtual void CopyBuffer(const wxAnyValueBuffer& src, wxAnyValueBuffer& dst) const = 0; @@ -407,11 +414,6 @@ public: */ virtual void DeleteValue(wxAnyValueBuffer& buf) const = 0; - /** - This function is used for internal type matching. - */ - virtual wxAnyClassInfo GetClassInfo() const = 0; - /** This function is used for internal type matching. */