# HG changeset patch # User laurent # Date 1260867873 -3600 # Node ID d36a89dcd21ced49e4d444312b982223411992c8 # Parent feb2acb0407091911bb645042ac9dc6c100f6412 Bug on LPCBeremiz when wxPopen asking for Yield after reopening of a Beremiz window fixed diff -r feb2acb04070 -r d36a89dcd21c LPCBeremiz.py --- a/LPCBeremiz.py Tue Dec 15 10:01:26 2009 +0100 +++ b/LPCBeremiz.py Tue Dec 15 10:04:33 2009 +0100 @@ -979,9 +979,15 @@ self.CollapseLocation(locations_infos, "root") frame = None +app = None + +def GetApp(): + global app + return app +wx.GetApp = GetApp def BeremizStartProc(plugin_root): - global frame + global frame, app app = wx.PySimpleApp() app.SetAppName('beremiz') @@ -1013,6 +1019,7 @@ app.MainLoop() frame = None + app = None class StdoutPseudoFile: """ Base class for file like objects to facilitate StdOut for the Shell."""