git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41052
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
Author: Frank Niessink <frank@niessink.com>
Copyright 2006, Frank Niessink
License: wxWidgets license
Author: Frank Niessink <frank@niessink.com>
Copyright 2006, Frank Niessink
License: wxWidgets license
-Version: 0.8
-Date: August 21, 2006
+Version: 0.9
+Date: September 6, 2006
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
-class BasePopupFrame(wx.MiniFrame):
+class BasePopupFrame(wx.Frame):
"""
BasePopupFrame is the base class for platform specific
versions of the PopupFrame. The PopupFrame is the frame that
"""
BasePopupFrame is the base class for platform specific
versions of the PopupFrame. The PopupFrame is the frame that
item = self.FindClientData(clientData)
if item:
self._tree.SelectItem(item)
item = self.FindClientData(clientData)
if item:
self._tree.SelectItem(item)
+ string = self._tree.GetItemText(item)
+ if self._text.GetValue() != string:
+ self._text.SetValue(string)
return True
else:
return False
return True
else:
return False
return events
def OnSelectionChangedInTree(self, event):
return events
def OnSelectionChangedInTree(self, event):
+ if self.IsBeingDeleted():
+ return
item = event.GetItem()
if item:
selectedValue = self._tree.GetItemText(item)
item = event.GetItem()
if item:
selectedValue = self._tree.GetItemText(item)