Added wxRichTextAction::SetOldAndNewObjects for clarity when submitting a wxRICHTEXT_CHANGE_OBJECT command.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6025,6 +6025,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
void MakeObject(wxRichTextObject* obj) { m_objectAddress.Create(m_buffer, obj); }
|
void MakeObject(wxRichTextObject* obj) { m_objectAddress.Create(m_buffer, obj); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
Sets the existing and new objects, for use with wxRICHTEXT_CHANGE_OBJECT.
|
||||||
|
*/
|
||||||
|
void SetOldAndNewObjects(wxRichTextObject* oldObj, wxRichTextObject* newObj) { SetObject(oldObj); StoreObject(newObj); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Calculate arrays for refresh optimization.
|
Calculate arrays for refresh optimization.
|
||||||
*/
|
*/
|
||||||
|
@@ -5883,6 +5883,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
void MakeObject(wxRichTextObject* obj) { m_objectAddress.Create(m_buffer, obj); }
|
void MakeObject(wxRichTextObject* obj) { m_objectAddress.Create(m_buffer, obj); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
Sets the existing and new objects, for use with wxRICHTEXT_CHANGE_OBJECT.
|
||||||
|
*/
|
||||||
|
void SetOldAndNewObjects(wxRichTextObject* oldObj, wxRichTextObject* newObj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Calculate arrays for refresh optimization.
|
Calculate arrays for refresh optimization.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user