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:
@@ -158,7 +158,7 @@ class ExpandoTextCtrl(wx.TextCtrl):
|
|||||||
return sz.height
|
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
|
# the wxGTK version of GetNumberOfLines in 2.6 doesn't count
|
||||||
# wrapped lines, so we need to implement our own. This is
|
# wrapped lines, so we need to implement our own. This is
|
||||||
# fixed in 2.7.
|
# fixed in 2.7.
|
||||||
|
Reference in New Issue
Block a user