From e0465cbdca787b836518b55fa9199dcef0c5ca00 Mon Sep 17 00:00:00 2001
From: Robin Dunn <robin@alldunn.com>
Date: Tue, 31 Aug 2004 19:54:42 +0000
Subject: [PATCH] Don't hide the panel for non-MSW platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 wxPython/demo/Main.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)
-- 
2.47.2