X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4123a7a9b82f66ba80292faae0f9c449a46a7ab2..8096c4256b5cba930b07ad7d36caaa390d343c83:/wxPython/wx/lib/expando.py

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.