]> git.saurik.com Git - wxWidgets.git/commitdiff
GetNumberOfLines on GTK doesn't count wrapped lines again...
authorRobin Dunn <robin@alldunn.com>
Tue, 7 Nov 2006 05:17:30 +0000 (05:17 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 7 Nov 2006 05:17:30 +0000 (05:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/expando.py

index a66112b37f0b07a2aabc63c8c97b84b9c9ee5d98..c5e03e9c9fb4e83ae2da0d90055299b5997372f0 100644 (file)
@@ -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.