From 855dd2ecee69f59a31f2ed995eecf6728a847a31 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 7 Nov 2006 05:17:30 +0000 Subject: [PATCH] GetNumberOfLines on GTK doesn't count wrapped lines again... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/expando.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wx/lib/expando.py b/wxPython/wx/lib/expando.py index a66112b37f..c5e03e9c9f 100644 --- a/wxPython/wx/lib/expando.py +++ b/wxPython/wx/lib/expando.py @@ -158,7 +158,7 @@ class ExpandoTextCtrl(wx.TextCtrl): return sz.height - if wx.VERSION < (2,7) and 'wxGTK' in wx.PlatformInfo: + if 'wxGTK' in wx.PlatformInfo: ## and wx.VERSION < (2,7): it's broke again in 2.7.2... # the wxGTK version of GetNumberOfLines in 2.6 doesn't count # wrapped lines, so we need to implement our own. This is # fixed in 2.7.