Adjust comments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-09-23 17:39:28 +00:00
parent 65b8a129ad
commit 196227619d

View File

@@ -497,10 +497,9 @@ void TextCtrlTestCase::Lines()
// Verify that wrapped lines count as 2 lines. // Verify that wrapped lines count as 2 lines.
// //
// This currently doesn't work neither in wxGTK nor wxOSX/Cocoa, see // This currently doesn't work neither in wxGTK, wxUniv, or wxOSX/Cocoa, see
// #12366, where GetNumberOfLines() always returns the number of logical, // #12366, where GetNumberOfLines() always returns the number of logical,
// not physical, lines. // not physical, lines.
// Update 5,23, 2014, same situation in wxUniv.
m_text->AppendText("\n" + wxString(50, '1') + ' ' + wxString(50, '2')); m_text->AppendText("\n" + wxString(50, '1') + ' ' + wxString(50, '2'));
#if defined(__WXGTK__) || defined(__WXOSX_COCOA__) || defined(__WXUNIVERSAL__) #if defined(__WXGTK__) || defined(__WXOSX_COCOA__) || defined(__WXUNIVERSAL__)
CPPUNIT_ASSERT_EQUAL(6, m_text->GetNumberOfLines()); CPPUNIT_ASSERT_EQUAL(6, m_text->GetNumberOfLines());