mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
No need to call wx.InitAllImageHandlers any more, it is called when wx is first imported.
This commit is contained in:
@@ -220,7 +220,6 @@ class DemoApp(wx.App):
|
||||
"""
|
||||
|
||||
def OnInit(self):
|
||||
wx.InitAllImageHandlers()
|
||||
frame = DrawFrame(None, wx.ID_ANY,
|
||||
title = "Plotting Test",
|
||||
size = (700,400) )
|
||||
|
||||
@@ -210,7 +210,6 @@ class PolyEditor(wx.App):
|
||||
"""
|
||||
|
||||
def OnInit(self):
|
||||
wx.InitAllImageHandlers()
|
||||
frame = DrawFrame(None,
|
||||
-1,
|
||||
"FloatCanvas Demo App",
|
||||
@@ -224,7 +223,7 @@ class PolyEditor(wx.App):
|
||||
frame.Setup()
|
||||
return True
|
||||
|
||||
PolyEditor(0).MainLoop()# put in True if you want output to go to it's own window.
|
||||
PolyEditor().MainLoop()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user