X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ce1a4e1cd7f41e30c0bfd8cbcbecf2f2484153a..e0465cbdca787b836518b55fa9199dcef0c5ca00:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index d14fdf4883..dd1f9044c2 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -483,7 +483,8 @@ class DemoCodePanel(wx.Panel): """Panel for the 'Demo Code' tab""" def __init__(self, parent, mainFrame): wx.Panel.__init__(self, parent, size=(1,1)) - self.Hide() + if 'wxMSW' in wx.PlatformInfo: + self.Hide() self.mainFrame = mainFrame self.editor = DemoCodeEditor(self) self.editor.RegisterModifiedEvent(self.OnCodeModified)