Fix for ogl.FORMAT_SIZE_TO_CONTENTS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-10 19:54:05 +00:00
parent 43a6124f65
commit 241d5f3d34
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ def GetCentredTextExtent(dc, text_list, xpos = 0, ypos = 0, width = 0, height =
max_width = 0
for line in text_list:
current_width, char_height = dc.GetTextExtent(line)
current_width, char_height = dc.GetTextExtent(line.GetText())
if current_width > max_width:
max_width = current_width