Minor fixes to wxRichTextCtrlXmlHandler code and docs

Fix the example showing how to use it in the docs.

Don't use "maxlength" property for this control, as it's ignored by it
anyhow.

Closes #22467.
This commit is contained in:
Randalphwa 2022-05-27 10:34:23 -07:00 committed by Vadim Zeitlin
parent 5b078655ed
commit d9f36adc8f
3 changed files with 7 additions and 11 deletions

View file

@ -1404,8 +1404,7 @@ wxRichTextCtrl =
attribute class { "wxRichTextCtrl" } &
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="o"] element value {_, t_text }* &
[xrc:p="o"] element maxlength {_, t_integer }*
[xrc:p="o"] element value {_, t_text }*
}