Fixed wxRichTextCtrl caret test case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2012-07-13 16:38:15 +00:00
parent 3a2b37010c
commit 04b2b47a4e
2 changed files with 3 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ void RichTextCtrlTestCase::CaretPosition()
m_rich->AddParagraph("This is paragraph one");
m_rich->AddParagraph("Paragraph two\n has \nlots of\n lines");
m_rich->MoveCaret(1);
m_rich->SetInsertionPoint(2);
CPPUNIT_ASSERT_EQUAL(1, m_rich->GetCaretPosition());