Added field implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2012-05-09 11:06:04 +00:00
parent f819ed5d42
commit 7c9fdebe5f
8 changed files with 1550 additions and 45 deletions

View File

@@ -1060,6 +1060,21 @@ public:
*/
virtual wxRichTextBox* WriteTextBox(const wxRichTextAttr& textAttr = wxRichTextAttr());
/**
Writes a field at the current insertion point.
@param fieldType
The field type, matching an existing field type definition.
@param properties
Extra data for the field.
@param textAttr
Optional attributes.
@see wxRichTextField, wxRichTextFieldType, wxRichTextFieldTypeStandard
*/
virtual wxRichTextField* WriteField(const wxString& fieldType, const wxRichTextProperties& properties,
const wxRichTextAttr& textAttr = wxRichTextAttr());
/**
Write a table at the current insertion point, returning the table.
You can then call SetFocusObject() to set the focus to the new object.