def Remove(self):
map(wxWindow.Destroy, self.lines)
g.testWin.highLight = None
def Remove(self):
map(wxWindow.Destroy, self.lines)
g.testWin.highLight = None
g.testWin.highLight.Replace(pos, size)
else:
g.testWin.highLight = HighLightBox(pos, size)
g.testWin.highLight.Replace(pos, size)
else:
g.testWin.highLight = HighLightBox(pos, size)
g.testWin.highLight.item = item
def ShowTestWindow(self, item):
g.testWin.highLight.item = item
def ShowTestWindow(self, item):
memFile.close() # write to wxMemoryFS
xmlFlags = wxXRC_NO_SUBCLASSING
# Use translations if encoding is not specified
memFile.close() # write to wxMemoryFS
xmlFlags = wxXRC_NO_SUBCLASSING
# Use translations if encoding is not specified
xmlFlags != wxXRC_USE_LOCALE
res = wxXmlResource('', xmlFlags)
res.Load('memory:xxx.xrc')
xmlFlags != wxXRC_USE_LOCALE
res = wxXmlResource('', xmlFlags)
res.Load('memory:xxx.xrc')
def CloseTestWindow(self):
if not g.testWin: return
self.SetItemBold(g.testWin.item, False)
def CloseTestWindow(self):
if not g.testWin: return
self.SetItemBold(g.testWin.item, False)