##// END OF EJS Templates
Try to get igrid to run with -wthread. This at least...
walter.doerwald -
Show More
@@ -780,6 +780,19 b' class IGridFrame(wx.Frame):'
780 dlg.Destroy()
780 dlg.Destroy()
781
781
782
782
783 class App(wx.App):
784 def __init__(self, input):
785 self.input = input
786 wx.App.__init__(self)
787
788 def OnInit(self):
789 frame = IGridFrame(self, self.input)
790 frame.Show()
791 self.SetTopWindow(frame)
792 frame.Raise()
793 return True
794
795
783 class igrid(ipipe.Display):
796 class igrid(ipipe.Display):
784 """
797 """
785 This is a wx-based display object that can be used instead of ``ibrowse``
798 This is a wx-based display object that can be used instead of ``ibrowse``
@@ -787,10 +800,6 b' class igrid(ipipe.Display):'
787 """
800 """
788 def display(self):
801 def display(self):
789 self.returnobj = None
802 self.returnobj = None
790 app = wx.App()
803 app = App(self.input)
791 self.frame = IGridFrame(self, self.input)
792 self.frame.Show()
793 app.SetTopWindow(self.frame)
794 self.frame.Raise()
795 app.MainLoop()
804 app.MainLoop()
796 return self.returnobj
805 return self.returnobj
General Comments 0
You need to be logged in to leave comments. Login now