X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80389ff7094bb385733198573fa091db5be480a1..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/wx/tools/XRCed/panel.py 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: