librelogo: fix messagebox (API changes)
Change-Id: I7fe8c26b7ca93319658c14abd1142f1623141ce8
This commit is contained in:
parent
e1b14fa655
commit
efae2d68dd
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user