From 1c7da10ebff58f95aa6eaad1a0bf8cd39a516b54 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 5 Nov 2004 18:30:41 +0000 Subject: [PATCH] Only do this Show on wxGTK as it is needed there but can cause display problems on MSW. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/tools/XRCed/panel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/wx/tools/XRCed/panel.py b/wxPython/wx/tools/XRCed/panel.py index 7c48230059..466af6f258 100644 --- a/wxPython/wx/tools/XRCed/panel.py +++ b/wxPython/wx/tools/XRCed/panel.py @@ -136,7 +136,8 @@ class Panel(wxNotebook): if not self.GetPageCount() == 2: self.AddPage(self.page2, 'Style') self.page2.Layout() - self.page2.Show(True) + if 'wxGTK' in wx.PlatformInfo: + self.page2.Show(True) size = self.page2.GetSizer().GetMinSize() self.page2.SetScrollbars(1, 1, size.width, size.height, 0, 0, True) else: