fix code snippet
This commit is contained in:
parent
6b335c8ca4
commit
60aa5d8e41
@ -99,10 +99,10 @@ public:
|
|||||||
For example:
|
For example:
|
||||||
@code
|
@code
|
||||||
wxRichTextRange range;
|
wxRichTextRange range;
|
||||||
if (m_richTextCtrl-HasSelection())
|
if (m_richTextCtrl->HasSelection())
|
||||||
range = m_richTextCtrl-GetSelectionRange();
|
range = m_richTextCtrl->GetSelectionRange();
|
||||||
else
|
else
|
||||||
range = wxRichTextRange(0, m_richTextCtrl-GetLastPosition()+1);
|
range = wxRichTextRange(0, m_richTextCtrl->GetLastPosition()+1);
|
||||||
|
|
||||||
int pages = wxRICHTEXT_FORMAT_FONT|wxRICHTEXT_FORMAT_INDENTS_SPACING| \
|
int pages = wxRICHTEXT_FORMAT_FONT|wxRICHTEXT_FORMAT_INDENTS_SPACING| \
|
||||||
wxRICHTEXT_FORMAT_TABS|wxRICHTEXT_FORMAT_BULLETS;
|
wxRICHTEXT_FORMAT_TABS|wxRICHTEXT_FORMAT_BULLETS;
|
||||||
|
Loading…
Reference in New Issue
Block a user