librelogo: fix messagebox (API changes)

Change-Id: I7fe8c26b7ca93319658c14abd1142f1623141ce8
This commit is contained in:
László Németh 2014-01-07 10:11:53 +01:00
parent e1b14fa655
commit efae2d68dd

View file

@ -275,9 +275,9 @@ def MessageBox(parent, message, title, msgtype = "messbox", buttons = __OK__):
d.WindowAttributes = buttons
tk = parent.getToolkit()
msgbox = tk.createWindow(d)
msgbox.setMessageText(message)
msgbox.MessageText = message
if title:
msgbox.setCaptionText(title)
msgbox.CaptionText = title
return msgbox.execute()
def Random(r):