X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48afbebbf784d5d83fde445b0629731dbf3d6b16..43c42c18d36c703a88b1b7b697bac27fe5608eca:/include/wx/richtext/richtextbuffer.h diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index a64fc8aa20..ce85bc5e69 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -5961,6 +5961,12 @@ public: */ wxRichTextObject* GetObject() const { return m_object; } + /** + Stores the object to replace the one at the position defined by the container address + without making an address for it (cf SetObject() and MakeObject()). + */ + void StoreObject(wxRichTextObject* obj) { m_object = obj; } + /** Sets the object to replace the one at the position defined by the container address and the action's range start position.