librelogo: fix messagebox (API changes)
Change-Id: I7fe8c26b7ca93319658c14abd1142f1623141ce8
This commit is contained in:
@@ -275,9 +275,9 @@ def MessageBox(parent, message, title, msgtype = "messbox", buttons = __OK__):
|
|||||||
d.WindowAttributes = buttons
|
d.WindowAttributes = buttons
|
||||||
tk = parent.getToolkit()
|
tk = parent.getToolkit()
|
||||||
msgbox = tk.createWindow(d)
|
msgbox = tk.createWindow(d)
|
||||||
msgbox.setMessageText(message)
|
msgbox.MessageText = message
|
||||||
if title:
|
if title:
|
||||||
msgbox.setCaptionText(title)
|
msgbox.CaptionText = title
|
||||||
return msgbox.execute()
|
return msgbox.execute()
|
||||||
|
|
||||||
def Random(r):
|
def Random(r):
|
||||||
|
Reference in New Issue
Block a user