summaryrefslogtreecommitdiff
path: root/librelogo
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2014-01-07 10:11:53 +0100
committerLászló Németh <nemeth@numbertext.org>2014-01-07 10:25:45 +0100
commitca3006cea58d2b35e773e6954e80b1c16bf0c379 (patch)
treeed25d3be9fa648e58304e612fdce51dc714bd851 /librelogo
parentbec40dcd4f36bf774f6bc2d805a646ba2232175c (diff)
librelogo: fix messagebox (API changes)
Change-Id: I7fe8c26b7ca93319658c14abd1142f1623141ce8
Diffstat (limited to 'librelogo')
-rw-r--r--librelogo/source/LibreLogo/LibreLogo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index e2fb718b7642..7b5930bf715b 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -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):