# HG changeset patch # User lbessard # Date 1214408097 -7200 # Node ID 2a9c4eec8645f34a31705fcaac958770b03ac0e5 # Parent 8eefeccbd0213aa37cefec0fdffef5987a1a43b1 Bug on Beremiz close with and IECcode and IECrawcode frames opened fixed diff -r 8eefeccbd021 -r 2a9c4eec8645 plugger.py --- a/plugger.py Wed Jun 25 17:32:53 2008 +0200 +++ b/plugger.py Wed Jun 25 17:34:57 2008 +0200 @@ -1039,7 +1039,7 @@ def _showIECcode(self, logger): plc_file = self._getIECcodepath() - new_dialog = wx.Frame(None) + new_dialog = wx.Frame(self.AppFrame) ST_viewer = TextViewer(new_dialog, "", None, None) #ST_viewer.Enable(False) ST_viewer.SetKeywords(IEC_KEYWORDS) @@ -1052,7 +1052,7 @@ new_dialog.Show() def _editIECrawcode(self, logger): - new_dialog = wx.Frame(None) + new_dialog = wx.Frame(self.AppFrame) buildpath = self._getBuildPath() # Eventually create build dir