Add wxStyledTextCtrl XRC handler

Closes https://github.com/wxWidgets/wxWidgets/pull/2530

Co-authored-by: VZ <vz-github@zeitlins.org>
This commit is contained in:
Alexander Koshelev
2021-09-22 20:22:39 +02:00
committed by Vadim Zeitlin
parent adef4c27c2
commit e2aca9cbd5
15 changed files with 201 additions and 8 deletions

View File

@@ -2110,6 +2110,26 @@ No additional properties.
wxStaticText::Wrap() (default: no wrap).}
@endTable
@subsubsection xrc_wxstyledtextctrl wxStyledTextCtrl
@beginTable
@hdr3col{property, type, description}
@row3col{wrapmode, @ref overview_xrcformat_type_style,
Set wrapmode to wxSTC_WRAP_WORD to enable wrapping on word or style boundaries,
wxSTC_WRAP_CHAR to enable wrapping between any characters, wxSTC_WRAP_WHITESPACE
to enable wrapping on whitespace, and wxSTC_WRAP_NONE to disable line wrapping
(default: wxSTC_WRAP_NONE).}
@endTable
Notice that wxStyledTextCtrl support in XRC is available in wxWidgets 3.1.6 and
later only and you need to explicitly register its handler using
@code
#include <wx/xrc/xh_styledtextctrl.h>
AddHandler(new wxStyledTextCtrl);
@endcode
to use it.
@subsubsection xrc_wxtextctrl wxTextCtrl
@beginTable