summaryrefslogtreecommitdiff
path: root/librelogo/source/LibreLogo/LibreLogo.py
diff options
context:
space:
mode:
Diffstat (limited to 'librelogo/source/LibreLogo/LibreLogo.py')
-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):