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
"""
import wx
# ---------------------------------------------------------------------------
-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
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 events
def OnSelectionChangedInTree(self, event):
+ if self.IsBeingDeleted():
+ return
item = event.GetItem()
if item:
selectedValue = self._tree.GetItemText(item)