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
This commit is contained in:
Robin Dunn 2006-11-07 05:17:30 +00:00
parent 20be5dfc14
commit 855dd2ecee

View 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.