mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Initial port of wxPython demo from Classic to Phoenix.
Pulled and squashed from https://github.com/RobinD42/Phoenix/pull/7 Thanks Metallicow! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,8 +31,8 @@ class TestPanel(wx.Panel):
|
||||
|
||||
elif 1:
|
||||
# or from a Virtual FileSystem:
|
||||
wx.FileSystem_AddHandler(wx.MemoryFSHandler())
|
||||
wx.MemoryFSHandler_AddFile("XRC_Resources/data_file", resourceText)
|
||||
wx.FileSystem.AddHandler(wx.MemoryFSHandler())
|
||||
wx.MemoryFSHandler().AddFile("XRC_Resources/data_file", resourceText)
|
||||
res = xrc.XmlResource("memory:XRC_Resources/data_file")
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user