From: <bra...@om...> - 2005-03-21 17:12:48
|
The Raise method for a child window seems not to work on the Mac, but does work under Windows. On the Mac, the child window starts to pop in front of the parent window, but then it withdraws behind. From looking at message watcher, It's almost as if the second click in my doubleclick is bringing the parent window forward. Is there something else I should be doing other than Raise(), or is this a bug? Here is the method runs when I doubleclick my multicolumnlist: def on_empMultiColumnList_itemActivated(self, event): """When an entry is double clicked""" indexClicked = event.m_itemIndex base = self.components rows = base.empMultiColumnList.GetSelectedItems() if len(rows) == 0: return print rows id_emp = rows[0][0] empDetail.id_emp = id_emp self.detailWindow = model.childWindow(self,empDetail.bgEmpDetail) self.detailWindow.populateFields(id_emp) self.detailWindow.Raise() I'm running PythonCard .81, wxPython 2.5.4.1, Python 2.3, Mac OS 10.3.8. |