Fix for Bug #689958, an endless loop in printout.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,7 +93,7 @@ class PrintBase:
|
||||
return ln_text, ""
|
||||
|
||||
try:
|
||||
w, h = self.DC.GetTextExtent(split[0])
|
||||
w, h = self.DC.GetTextExtent(" " + split[0])
|
||||
if w >= width:
|
||||
return ln_text, ""
|
||||
except:
|
||||
|
Reference in New Issue
Block a user