fix code snippet

This commit is contained in:
Robin Dunn 2016-09-30 16:45:23 -07:00
parent 6b335c8ca4
commit 60aa5d8e41

View File

@ -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;