X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c86168d9aaa36cffc74afbc6abd1ff5b270db64..11bf9fea53d75b460aaa4028a591917b6dd6fe54:/include/wx/richtext/richtextbuffer.h diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index 761ed468a4..8a3343a9b2 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -3563,8 +3563,8 @@ protected: covers common needs especially for simple, static fields using text or a bitmap. Register field types on application initialisation with the static function - wxRichTextParagraphLayoutBox::AddFieldType. They will be deleted automatically - on application exit. + wxRichTextBuffer::AddFieldType. They will be deleted automatically on + application exit. An application can write a field to a control with wxRichTextCtrl::WriteField, taking a field type, the properties for the field, and optional attributes. @@ -3650,8 +3650,8 @@ protected: property editing functionality for a field. Register field types on application initialisation with the static function - wxRichTextParagraphLayoutBox::AddFieldType. They will be deleted automatically - on application exit. + wxRichTextBuffer::AddFieldType. They will be deleted automatically on + application exit. @library{wxrichtext} @category{richtext} @@ -5562,6 +5562,14 @@ public: // Accessors + int GetColspan() const; + + void SetColspan(long span) { GetProperties().SetProperty(wxT("colspan"), span); } + + int GetRowspan() const; + + void SetRowspan(long span) { GetProperties().SetProperty(wxT("rowspan"), span); } + // Operations virtual wxRichTextObject* Clone() const { return new wxRichTextCell(*this); }