1 \section{\class{wxTextAttrEx
}}\label{wxtextattrex
}
3 wxTextAttrEx is an extended version of wxTextAttr with more paragraph attributes.
4 Currently it is only used with
\helpref{wxRichTextCtrl
}{wxrichtextctrl
}.
6 It is intended that eventually, the members of wxTextAttrEx will
7 be folded into wxTextAttr, and wxTextAttr will be the official
8 cross-platform API for text controls that support attributes.
9 However, for now, wxTextAttrEx is provided as a means of enabling
10 extra functionality in wxRichTextCtrl, while retaining some compatibility
11 with the wxTextAttr API.
13 The most efficient method of accessing wxRichTextCtrl functionality
14 is a third attribute class,
\helpref{wxRichTextAttr
}{wxrichtextattr
}, which
15 optimizes its storage to allow it to be used for implementing objects
16 in a buffer, as well as access to that buffer.
18 This section only documents the additional members; see
\helpref{wxTextAttr
}{wxtextattr
} for
19 the remaining functions.
21 \wxheading{Derived from
}
23 \helpref{wxTextAttr
}{wxtextattr
}
25 \wxheading{Include files
}
27 <wx/richtext/richtextbuffer.h>
31 The following values can be passed to SetAlignment to determine
36 enum wxTextAttrAlignment
38 wxTEXT_ALIGNMENT_DEFAULT,
39 wxTEXT_ALIGNMENT_LEFT,
40 wxTEXT_ALIGNMENT_CENTRE,
41 wxTEXT_ALIGNMENT_CENTER = wxTEXT_ALIGNMENT_CENTRE,
42 wxTEXT_ALIGNMENT_RIGHT,
43 wxTEXT_ALIGNMENT_JUSTIFIED
48 These values are passed in a bitlist to SetFlags to determine
49 what attributes will be considered when setting the attributes
54 // Standard wxTextAttr constants
56 #define wxTEXT_ATTR_TEXT_COLOUR
0x0001
57 #define wxTEXT_ATTR_BACKGROUND_COLOUR
0x0002
58 #define wxTEXT_ATTR_FONT_FACE
0x0004
59 #define wxTEXT_ATTR_FONT_SIZE
0x0008
60 #define wxTEXT_ATTR_FONT_WEIGHT
0x0010
61 #define wxTEXT_ATTR_FONT_ITALIC
0x0020
62 #define wxTEXT_ATTR_FONT_UNDERLINE
0x0040
63 #define wxTEXT_ATTR_FONT \
64 wxTEXT_ATTR_FONT_FACE | wxTEXT_ATTR_FONT_SIZE | wxTEXT_ATTR_FONT_WEIGHT \
65 | wxTEXT_ATTR_FONT_ITALIC | wxTEXT_ATTR_FONT_UNDERLINE
66 #define wxTEXT_ATTR_ALIGNMENT
0x0080
67 #define wxTEXT_ATTR_LEFT_INDENT
0x0100
68 #define wxTEXT_ATTR_RIGHT_INDENT
0x0200
69 #define wxTEXT_ATTR_TABS
0x0400
71 // Extra formatting flags not in wxTextAttr
73 #define wxTEXT_ATTR_PARA_SPACING_AFTER
0x00000800
74 #define wxTEXT_ATTR_PARA_SPACING_BEFORE
0x00001000
75 #define wxTEXT_ATTR_LINE_SPACING
0x00002000
76 #define wxTEXT_ATTR_CHARACTER_STYLE_NAME
0x00004000
77 #define wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
0x00008000
78 #define wxTEXT_ATTR_LIST_STYLE_NAME
0x00010000
79 #define wxTEXT_ATTR_BULLET_STYLE
0x00020000
80 #define wxTEXT_ATTR_BULLET_NUMBER
0x00040000
81 #define wxTEXT_ATTR_BULLET_TEXT
0x00080000
82 #define wxTEXT_ATTR_BULLET_NAME
0x00100000
83 #define wxTEXT_ATTR_URL
0x00200000
84 #define wxTEXT_ATTR_PAGE_BREAK
0x00400000
85 #define wxTEXT_ATTR_EFFECTS
0x00800000
89 The following styles can be passed to wxTextAttrEx::SetBulletStyle:
93 #define wxTEXT_ATTR_BULLET_STYLE_NONE
0x00000000
94 #define wxTEXT_ATTR_BULLET_STYLE_ARABIC
0x00000001
95 #define wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
0x00000002
96 #define wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
0x00000004
97 #define wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
0x00000008
98 #define wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
0x00000010
99 #define wxTEXT_ATTR_BULLET_STYLE_SYMBOL
0x00000020
100 #define wxTEXT_ATTR_BULLET_STYLE_BITMAP
0x00000040
101 #define wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
0x00000080
102 #define wxTEXT_ATTR_BULLET_STYLE_PERIOD
0x00000100
103 #define wxTEXT_ATTR_BULLET_STYLE_STANDARD
0x00000200
104 #define wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS
0x00000400
105 #define wxTEXT_ATTR_BULLET_STYLE_OUTLINE
0x00000800
106 #define wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT
0x00000000
107 #define wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT
0x00001000
108 #define wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE
0x00002000
112 Of these, wxTEXT
\_ATTR\_BULLET\_STYLE\_BITMAP is unimplemented.
114 The following constants can be passed to wxTextAttrEx::SetLineSpacing:
118 #define wxTEXT_ATTR_LINE_SPACING_NORMAL
10
119 #define wxTEXT_ATTR_LINE_SPACING_HALF
15
120 #define wxTEXT_ATTR_LINE_SPACING_TWICE
20
124 The following styles can be passed to wxTextAttrEx::SetTextEffects:
128 #define wxTEXT_ATTR_EFFECT_NONE
0x00000000
129 #define wxTEXT_ATTR_EFFECT_CAPITALS
0x00000001
130 #define wxTEXT_ATTR_EFFECT_SMALL_CAPITALS
0x00000002
131 #define wxTEXT_ATTR_EFFECT_STRIKETHROUGH
0x00000004
132 #define wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH
0x00000008
133 #define wxTEXT_ATTR_EFFECT_SHADOW
0x00000010
134 #define wxTEXT_ATTR_EFFECT_EMBOSS
0x00000020
135 #define wxTEXT_ATTR_EFFECT_OUTLINE
0x00000040
136 #define wxTEXT_ATTR_EFFECT_ENGRAVE
0x00000080
137 #define wxTEXT_ATTR_EFFECT_SUPERSCRIPT
0x00000100
138 #define wxTEXT_ATTR_EFFECT_SUBSCRIPT
0x00000200
142 Of these, only wxTEXT
\_ATTR\_EFFECT\_CAPITALS and wxTEXT
\_ATTR\_EFFECT\_STRIKETHROUGH are implemented.
146 \helpref{wxTextAttr
}{wxtextattr
},
\helpref{wxRichTextAttr
}{wxrichtextattr
},
\helpref{wxRichTextCtrl
}{wxrichtextctrl
}
148 \latexignore{\rtfignore{\wxheading{Members
}}}
151 \membersection{wxTextAttrEx::wxTextAttrEx
}\label{wxtextattrexwxtextattrex
}
153 \func{}{wxTextAttrEx
}{\void}
156 \func{}{wxTextAttrEx
}{\param{const wxTextAttrEx\&
}{attr
}}
160 \membersection{wxTextAttrEx::GetBulletFont
}\label{wxtextattrexgetbulletfont
}
162 \constfunc{const wxString\&
}{GetBulletFont
}{\void}
164 Returns a string containing the name of the font associated with the bullet symbol.
165 Only valid for attributes with wxTEXT
\_ATTR\_BULLET\_SYMBOL.
167 \membersection{wxTextAttrEx::GetBulletName
}\label{wxtextattrexgetbulletname
}
169 \constfunc{const wxString\&
}{GetBulletName
}{\void}
171 Returns the standard bullet name, applicable if the bullet style is wxTEXT
\_ATTR\_BULLET\_STYLE\_STANDARD.
172 Currently the following standard bullet names are supported:
174 \begin{itemize
}\itemsep=
0pt
175 \item {\tt standard/circle
}
176 \item {\tt standard/square
}
177 \item {\tt standard/diamond
}
178 \item {\tt standard/triangle
}
181 If you wish your application to support further bullet graphics, you can derive a
182 class from wxRichTextRenderer or wxRichTextStdRenderer, override
{\tt DrawStandardBullet
} and
{\tt EnumerateStandardBulletNames
}, and
183 set an instance of the class using
\helpref{wxRichTextBuffer::SetRenderer
}{wxrichtextbuffersetrenderer
}.
185 \membersection{wxTextAttrEx::GetBulletNumber
}\label{wxtextattrexgetbulletnumber
}
187 \constfunc{int
}{GetBulletNumber
}{\void}
189 Returns the bullet number.
191 \membersection{wxTextAttrEx::GetBulletStyle
}\label{wxtextattrexgetbulletstyle
}
193 \constfunc{int
}{GetBulletStyle
}{\void}
195 Returns the bullet style.
196 See
\helpref{wxTextAttrEx::SetBulletStyle
}{wxtextattrexsetbulletstyle
} for a list of available styles.
198 \membersection{wxTextAttrEx::GetBulletText
}\label{wxtextattrexgetbullettext
}
200 \constfunc{const wxString\&
}{GetBulletText
}{\void}
202 Returns the bullet text, which could be a symbol, or (for example) cached outline text.
204 \membersection{wxTextAttrEx::GetCharacterStyleName
}\label{wxtextattrexgetcharacterstylename
}
206 \constfunc{const wxString\&
}{GetCharacterStyleName
}{\void}
208 Returns the name of the character style.
210 \membersection{wxTextAttrEx::GetLineSpacing
}\label{wxtextattrexgetlinespacing
}
212 \constfunc{int
}{GetLineSpacing
}{\void}
214 Returns the line spacing value, one of wxTEXT
\_ATTR\_LINE\_SPACING\_NORMAL,
215 wxTEXT
\_ATTR\_LINE\_SPACING\_HALF, and wxTEXT
\_ATTR\_LINE\_SPACING\_TWICE.
217 \membersection{wxTextAttrEx::GetListStyleName
}\label{wxtextattrexgetliststylename
}
219 \constfunc{const wxString\&
}{GetListStyleName
}{\void}
221 Returns the name of the list style.
223 \membersection{wxTextAttrEx::GetParagraphSpacingAfter
}\label{wxtextattrexgetparagraphspacingafter
}
225 \constfunc{int
}{GetParagraphSpacingAfter
}{\void}
227 Returns the space in tenths of a millimeter after the paragraph.
229 \membersection{wxTextAttrEx::GetParagraphSpacingBefore
}\label{wxtextattrexgetparagraphspacingbefore
}
231 \constfunc{int
}{GetParagraphSpacingBefore
}{\void}
233 Returns the space in tenths of a millimeter before the paragraph.
235 \membersection{wxTextAttrEx::GetParagraphStyleName
}\label{wxtextattrexgetparagraphstylename
}
237 \constfunc{const wxString\&
}{GetParagraphStyleName
}{\void}
239 Returns the name of the paragraph style.
241 \membersection{wxTextAttrEx::GetTextEffectFlags
}\label{wxtextattrexgettexteffectflags
}
243 \constfunc{int
}{GetTextEffectFlags
}{\void}
245 Returns the text effect bits of interest. See
\helpref{wxTextAttr::SetFlags
}{wxtextattrsetflags
} for further information.
247 \membersection{wxTextAttrEx::GetTextEffects
}\label{wxtextattrexgettexteffects
}
249 \constfunc{int
}{GetTextEffects
}{\void}
251 Returns the text effects, a bit list of styles. See
\helpref{wxTextAttrEx::SetTextEffects
}{wxtextattrexsettexteffects
} for
254 \membersection{wxTextAttrEx::GetURL
}\label{wxtextattrexgeturl
}
256 \constfunc{const wxString\&
}{GetURL
}{\void}
258 Returns the URL for the content. Content with wxTEXT
\_ATTR\_URL style
259 causes wxRichTextCtrl to show a hand cursor over it, and wxRichTextCtrl generates
260 a wxTextUrlEvent when the content is clicked.
262 \membersection{wxTextAttrEx::HasBulletName
}\label{wxtextattrexhasbulletname
}
264 \constfunc{bool
}{HasBulletName
}{\void}
266 Returns
\true if the attribute object specifies a standard bullet name.
268 \membersection{wxTextAttrEx::HasBulletNumber
}\label{wxtextattrexhasbulletnumber
}
270 \constfunc{bool
}{HasBulletNumber
}{\void}
272 Returns
\true if the attribute object specifies a bullet number.
274 \membersection{wxTextAttrEx::HasBulletStyle
}\label{wxtextattrexhasbulletstyle
}
276 \constfunc{bool
}{HasBulletStyle
}{\void}
278 Returns
\true if the attribute object specifies a bullet style.
280 \membersection{wxTextAttrEx::HasBulletText
}\label{wxtextattrexhasbullettext
}
282 \constfunc{bool
}{HasBulletText
}{\void}
284 Returns
\true if the attribute object specifies bullet text (usually containing a symbol).
286 \membersection{wxTextAttrEx::HasCharacterStyleName
}\label{wxtextattrexhascharacterstylename
}
288 \constfunc{bool
}{HasCharacterStyleName
}{\void}
290 Returns
\true if the attribute object specifies a character style name.
292 \membersection{wxTextAttrEx::HasLineSpacing
}\label{wxtextattrexhaslinespacing
}
294 \constfunc{bool
}{HasLineSpacing
}{\void}
296 Returns
\true if the attribute object specifies line spacing.
298 \membersection{wxTextAttrEx::HasListStyleName
}\label{wxtextattrexhasliststylename
}
300 \constfunc{bool
}{HasListStyleName
}{\void}
302 Returns
\true if the attribute object specifies a list style name.
304 \membersection{wxTextAttrEx::HasPageBreak
}\label{wxtextattrexhaspagebreak
}
306 \constfunc{bool
}{HasPageBreak
}{\void}
308 Returns
\true if the attribute object specifies a page break before this paragraph.
310 \membersection{wxTextAttrEx::HasParagraphSpacingAfter
}\label{wxtextattrexhasparagraphspacingafter
}
312 \constfunc{bool
}{HasParagraphSpacingAfter
}{\void}
314 Returns
\true if the attribute object specifies spacing after a paragraph.
316 \membersection{wxTextAttrEx::HasParagraphSpacingBefore
}\label{wxtextattrexhasparagraphspacingbefore
}
318 \constfunc{bool
}{HasParagraphSpacingBefore
}{\void}
320 Returns
\true if the attribute object specifies spacing before a paragraph.
322 \membersection{wxTextAttrEx::HasParagraphStyleName
}\label{wxtextattrexhasparagraphstylename
}
324 \constfunc{bool
}{HasParagraphStyleName
}{\void}
326 Returns
\true if the attribute object specifies a paragraph style name.
328 \membersection{wxTextAttrEx::Init
}\label{wxtextattrexinit
}
330 \func{void
}{Init
}{\void}
332 Initialises this object.
334 \membersection{wxTextAttrEx::IsCharacterStyle
}\label{wxtextattrexischaracterstyle
}
336 \constfunc{bool
}{IsCharacterStyle
}{\void}
338 Returns
\true if the object represents a character style, that is,
339 the flags specify a font or a text background or foreground colour.
341 \membersection{wxTextAttrEx::IsDefault
}\label{wxtextattrexisdefault
}
343 \constfunc{bool
}{IsDefault
}{\void}
345 Returns
\false if we have any attributes set,
\true otherwise.
347 \membersection{wxTextAttrEx::IsParagraphStyle
}\label{wxtextattrexisparagraphstyle
}
349 \constfunc{bool
}{IsParagraphStyle
}{\void}
351 Returns
\true if the object represents a paragraph style, that is,
352 the flags specify alignment, indentation, tabs, paragraph spacing, or
355 \membersection{wxTextAttrEx::SetBulletFont
}\label{wxtextattrexsetbulletfont
}
357 \func{void
}{SetBulletFont
}{\param{const wxString\&
}{font
}}
359 Sets the name of the font associated with the bullet symbol.
360 Only valid for attributes with wxTEXT
\_ATTR\_BULLET\_SYMBOL.
362 \membersection{wxTextAttrEx::SetBulletNumber
}\label{wxtextattrexsetbulletnumber
}
364 \func{void
}{SetBulletNumber
}{\param{int
}{n
}}
366 Sets the bullet number.
368 \membersection{wxTextAttrEx::SetBulletName
}\label{wxtextattrexsetbulletname
}
370 \func{void
}{SetBulletName
}{\param{const wxString\&
}{name
}}
372 Sets the standard bullet name, applicable if the bullet style is wxTEXT
\_ATTR\_BULLET\_STYLE\_STANDARD.
373 See
\helpref{wxTextAttrEx::GetBulletName
}{wxtextattrexgetbulletname
} for a list
374 of supported names, and how to expand the range of supported types.
376 \membersection{wxTextAttrEx::SetBulletStyle
}\label{wxtextattrexsetbulletstyle
}
378 \func{void
}{SetBulletStyle
}{\param{int
}{style
}}
380 Sets the bullet style. The following styles can be passed:
384 #define wxTEXT_ATTR_BULLET_STYLE_NONE
0x00000000
385 #define wxTEXT_ATTR_BULLET_STYLE_ARABIC
0x00000001
386 #define wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
0x00000002
387 #define wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
0x00000004
388 #define wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
0x00000008
389 #define wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
0x00000010
390 #define wxTEXT_ATTR_BULLET_STYLE_SYMBOL
0x00000020
391 #define wxTEXT_ATTR_BULLET_STYLE_BITMAP
0x00000040
392 #define wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
0x00000080
393 #define wxTEXT_ATTR_BULLET_STYLE_PERIOD
0x00000100
394 #define wxTEXT_ATTR_BULLET_STYLE_STANDARD
0x00000200
395 #define wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS
0x00000400
396 #define wxTEXT_ATTR_BULLET_STYLE_OUTLINE
0x00000800
397 #define wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT
0x00000000
398 #define wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT
0x00001000
399 #define wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE
0x00002000
403 Currently wxTEXT
\_ATTR\_BULLET\_STYLE\_BITMAP is not supported.
405 \membersection{wxTextAttrEx::SetBulletText
}\label{wxtextattrexsetbullettext
}
407 \func{void
}{SetBulletText
}{\param{const wxString\&
}{text
}}
409 Sets the bullet text, which could be a symbol, or (for example) cached outline text.
411 \membersection{wxTextAttrEx::SetCharacterStyleName
}\label{wxtextattrexsetcharacterstylename
}
413 \func{void
}{SetCharacterStyleName
}{\param{const wxString\&
}{name
}}
415 Sets the character style name.
417 \membersection{wxTextAttrEx::SetLineSpacing
}\label{wxtextattrexsetlinespacing
}
419 \func{void
}{SetLineSpacing
}{\param{int
}{spacing
}}
421 Sets the line spacing.
{\it spacing
} is a multiple, where
10 means single-spacing,
422 15 means
1.5 spacing, and
20 means double spacing. The following constants are
423 defined for convenience:
427 #define wxTEXT_ATTR_LINE_SPACING_NORMAL
10
428 #define wxTEXT_ATTR_LINE_SPACING_HALF
15
429 #define wxTEXT_ATTR_LINE_SPACING_TWICE
20
433 \membersection{wxTextAttrEx::SetListStyleName
}\label{wxtextattrexsetliststylename
}
435 \func{void
}{SetListStyleName
}{\param{const wxString\&
}{name
}}
437 Sets the list style name.
439 \membersection{wxTextAttrEx::SetPageBreak
}\label{wxtextattrexsetpagebreak
}
441 \func{void
}{SetPageBreak
}{\param{bool
}{ pageBreak = true
}}
443 Specifies a page break before this paragraph.
445 \membersection{wxTextAttrEx::SetParagraphSpacingAfter
}\label{wxtextattrexsetparagraphspacingafter
}
447 \func{void
}{SetParagraphSpacingAfter
}{\param{int
}{spacing
}}
449 Sets the spacing after a paragraph, in tenths of a millimetre.
451 \membersection{wxTextAttrEx::SetParagraphSpacingBefore
}\label{wxtextattrexsetparagraphspacingbefore
}
453 \func{void
}{SetParagraphSpacingBefore
}{\param{int
}{spacing
}}
455 Sets the spacing before a paragraph, in tenths of a millimetre.
457 \membersection{wxTextAttrEx::SetParagraphStyleName
}\label{wxtextattrexsetparagraphstylename
}
459 \func{void
}{SetParagraphStyleName
}{\param{const wxString\&
}{name
}}
461 Sets the name of the paragraph style.
463 \membersection{wxTextAttrEx::SetTextEffectFlags
}\label{wxtextattrexsettexteffectflags
}
465 \func{void
}{SetTextEffectFlags
}{\param{int
}{flags
}}
467 Sets the text effect bits of interest. You should also pass wxTEXT
\_ATTR\_EFFECTS to
\helpref{wxTextAttr::SetFlags
}{wxtextattrsetflags
}.
469 \membersection{wxTextAttrEx::SetTextEffects
}\label{wxtextattrexsettexteffects
}
471 \func{void
}{SetTextEffects
}{\param{int
}{effects
}}
473 Sets the text effects, a bit list of styles.
475 The following styles can be passed:
479 #define wxTEXT_ATTR_EFFECT_NONE
0x00000000
480 #define wxTEXT_ATTR_EFFECT_CAPITALS
0x00000001
481 #define wxTEXT_ATTR_EFFECT_SMALL_CAPITALS
0x00000002
482 #define wxTEXT_ATTR_EFFECT_STRIKETHROUGH
0x00000004
483 #define wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH
0x00000008
484 #define wxTEXT_ATTR_EFFECT_SHADOW
0x00000010
485 #define wxTEXT_ATTR_EFFECT_EMBOSS
0x00000020
486 #define wxTEXT_ATTR_EFFECT_OUTLINE
0x00000040
487 #define wxTEXT_ATTR_EFFECT_ENGRAVE
0x00000080
488 #define wxTEXT_ATTR_EFFECT_SUPERSCRIPT
0x00000100
489 #define wxTEXT_ATTR_EFFECT_SUBSCRIPT
0x00000200
493 Of these, only wxTEXT
\_ATTR\_EFFECT\_CAPITALS and wxTEXT
\_ATTR\_EFFECT\_STRIKETHROUGH are implemented.
494 wxTEXT
\_ATTR\_EFFECT\_CAPITALS capitalises text when displayed (leaving the case of the actual buffer
495 text unchanged), and wxTEXT
\_ATTR\_EFFECT\_STRIKETHROUGH draws a line through text.
497 To set effects, you should also pass wxTEXT
\_ATTR\_EFFECTS to
\helpref{wxTextAttr::SetFlags
}{wxtextattrsetflags
}, and call
\rtfsp
498 \helpref{wxTextAttrEx::SetTextEffectFlags
}{wxtextattrexsettexteffectflags
} with the styles (taken from the
499 above set) that you are interested in setting.
501 \membersection{wxTextAttrEx::SetURL
}\label{wxtextattrexseturl
}
503 \func{void
}{SetURL
}{\param{const wxString\&
}{url
}}
505 Sets the URL for the content. Sets the wxTEXT
\_ATTR\_URL style; content with this style
506 causes wxRichTextCtrl to show a hand cursor over it, and wxRichTextCtrl generates
507 a wxTextUrlEvent when the content is clicked.
509 \membersection{wxTextAttrEx::operator=
}\label{wxtextattrexoperatorassign
}
511 \func{void operator
}{operator=
}{\param{const wxTextAttr\&
}{attr
}}
513 Assignment from a wxTextAttr object.
515 \func{void operator
}{operator=
}{\param{const wxTextAttrEx\&
}{attr
}}
517 Assignment from a wxTextAttrEx object.