diff options
author | László Németh <nemeth@numbertext.org> | 2014-01-07 10:11:53 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2014-01-07 10:19:49 +0100 |
commit | efae2d68dd1b94e28349c0ce26018d8f8689d5a5 (patch) | |
tree | 55feb7da3a1cfde8ff52c2b958a035a506840759 /librelogo | |
parent | e1b14fa6557f0ded8b5149e28e00861b296dcb34 (diff) |
librelogo: fix messagebox (API changes)
Change-Id: I7fe8c26b7ca93319658c14abd1142f1623141ce8
Diffstat (limited to 'librelogo')
-rw-r--r-- | librelogo/source/LibreLogo/LibreLogo.py | 4 |
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): |