From 1b539499cd270fb7f41c8b5d31331235d6c15dbf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 30 Sep 2016 16:45:23 -0700 Subject: [PATCH] fix code snippet --- interface/wx/richtext/richtextformatdlg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/wx/richtext/richtextformatdlg.h b/interface/wx/richtext/richtextformatdlg.h index 6eed33888d..1e2ec2ac39 100644 --- a/interface/wx/richtext/richtextformatdlg.h +++ b/interface/wx/richtext/richtextformatdlg.h @@ -99,10 +99,10 @@ public: For example: @code wxRichTextRange range; - if (m_richTextCtrl-HasSelection()) - range = m_richTextCtrl-GetSelectionRange(); + if (m_richTextCtrl->HasSelection()) + range = m_richTextCtrl->GetSelectionRange(); else - range = wxRichTextRange(0, m_richTextCtrl-GetLastPosition()+1); + range = wxRichTextRange(0, m_richTextCtrl->GetLastPosition()+1); int pages = wxRICHTEXT_FORMAT_FONT|wxRICHTEXT_FORMAT_INDENTS_SPACING| \ wxRICHTEXT_FORMAT_TABS|wxRICHTEXT_FORMAT_BULLETS;