From 3b39faf76c8fb288e8ba908b118d146da5040e7e Mon Sep 17 00:00:00 2001 From: Ircama Date: Thu, 14 Dec 2023 22:54:43 +0100 Subject: [PATCH] Workaround to support the GTK ToolKit (Linux) --- construct_editor/wx_widgets/wx_construct_editor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/construct_editor/wx_widgets/wx_construct_editor.py b/construct_editor/wx_widgets/wx_construct_editor.py index 5627b5a..84c4b31 100644 --- a/construct_editor/wx_widgets/wx_construct_editor.py +++ b/construct_editor/wx_widgets/wx_construct_editor.py @@ -502,7 +502,8 @@ def _reload_dvc_columns(self): # visible area. I guess the flickering comes, because at first the # fixed size is used and then an Event occures an sets the corret size # of the dvc. This Yield forces to process this event. - wx.Yield() + if 'wxGTK' not in wx.PlatformInfo: + wx.Yield() def _rename_dvc_columns(self, entry: EntryConstruct): """