From d4940296f1c6861e78f035420c7fcbaf49789c30 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Fri, 20 Sep 2019 13:08:58 -0400 Subject: [PATCH 1/2] Fixed bug / typo. Was in the middle of making a change and had not finished it before checking in! DOH!! --- PySimpleGUIWx/PySimpleGUIWx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PySimpleGUIWx/PySimpleGUIWx.py b/PySimpleGUIWx/PySimpleGUIWx.py index 8fd8b0c9..e64d6685 100644 --- a/PySimpleGUIWx/PySimpleGUIWx.py +++ b/PySimpleGUIWx/PySimpleGUIWx.py @@ -4504,7 +4504,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form): if auto_size: element.WxButton.SetWindowStyleFlag(element.WxButton.GetWindowStyleFlag() | wx.BU_EXACTFIT) else: - element.WxButton.SetMinSize(convert_tkinter_size_to_Wx((width,height), PIXEL)) + element.WxButton.SetMinSize(_convert_tkinter_size_to_Wx((width,height), DEFAULT_PIXEL_TO_CHARS_CUTOFF)) if element.ButtonColor != (None, None) and element.ButtonColor != DEFAULT_BUTTON_COLOR: bc = element.ButtonColor elif toplevel_form.ButtonColor != (None, None) and toplevel_form.ButtonColor != DEFAULT_BUTTON_COLOR: From 627fda3ae0929efd4c054033dc7c95e4aba0fcb7 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Fri, 20 Sep 2019 13:09:48 -0400 Subject: [PATCH 2/2] Forgot version bump --- PySimpleGUIWx/PySimpleGUIWx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PySimpleGUIWx/PySimpleGUIWx.py b/PySimpleGUIWx/PySimpleGUIWx.py index e64d6685..02fab2e7 100644 --- a/PySimpleGUIWx/PySimpleGUIWx.py +++ b/PySimpleGUIWx/PySimpleGUIWx.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 from sphinx.ext.autosummary import autosummary_table -version = __version__ = "0.13.0.3 Unreleased" +version = __version__ = "0.13.0.4 Unreleased" import sys import wx