]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't hide the panel for non-MSW platforms.
authorRobin Dunn <robin@alldunn.com>
Tue, 31 Aug 2004 19:54:42 +0000 (19:54 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 31 Aug 2004 19:54:42 +0000 (19:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Main.py

index d14fdf4883373321889bf0952af2054a43c5bd75..dd1f9044c285e0024d217b26f4434c564f22638f 100644 (file)
@@ -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)