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
This commit is contained in:
parent
7ce1a4e1cd
commit
e0465cbdca
@ -483,7 +483,8 @@ class DemoCodePanel(wx.Panel):
|
|||||||
"""Panel for the 'Demo Code' tab"""
|
"""Panel for the 'Demo Code' tab"""
|
||||||
def __init__(self, parent, mainFrame):
|
def __init__(self, parent, mainFrame):
|
||||||
wx.Panel.__init__(self, parent, size=(1,1))
|
wx.Panel.__init__(self, parent, size=(1,1))
|
||||||
self.Hide()
|
if 'wxMSW' in wx.PlatformInfo:
|
||||||
|
self.Hide()
|
||||||
self.mainFrame = mainFrame
|
self.mainFrame = mainFrame
|
||||||
self.editor = DemoCodeEditor(self)
|
self.editor = DemoCodeEditor(self)
|
||||||
self.editor.RegisterModifiedEvent(self.OnCodeModified)
|
self.editor.RegisterModifiedEvent(self.OnCodeModified)
|
||||||
|
Loading…
Reference in New Issue
Block a user