From 113b28394cf721d9c83a0d79e7077e87c6832ab0 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sun, 7 Jun 2020 21:04:25 -0400 Subject: [PATCH] Multiline.update changed to use SetValue just like when intially created. --- PySimpleGUIWx/PySimpleGUIWx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PySimpleGUIWx/PySimpleGUIWx.py b/PySimpleGUIWx/PySimpleGUIWx.py index 66b2a37f..60d28e9f 100644 --- a/PySimpleGUIWx/PySimpleGUIWx.py +++ b/PySimpleGUIWx/PySimpleGUIWx.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -version = __version__ = "0.17.0 Released 6-Jun-2020" +version = __version__ = "0.17.0.1 Unreleased\n Multiline update changed to SetValue" port = 'PySimpleGUIWx' @@ -990,7 +990,7 @@ class Multiline(Element): def Update(self, value=None, disabled=None, append=False, background_color=None, text_color=None, font=None, visible=None): try: # added in case the widget has already been deleted for some readon. if value is not None and not append: - self.WxTextCtrl.SetLabel(value) + self.WxTextCtrl.SetValue(value) elif value is not None and append: self.WxTextCtrl.AppendText(value) if background_color is not None: