X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64bce500c085d5450dff58082fff150a181c1bec..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/wx/tools/XRCed/tree.py?ds=sidebyside diff --git a/wxPython/wx/tools/XRCed/tree.py b/wxPython/wx/tools/XRCed/tree.py index cb68fa49a6..c3df6a0ee1 100644 --- a/wxPython/wx/tools/XRCed/tree.py +++ b/wxPython/wx/tools/XRCed/tree.py @@ -105,6 +105,7 @@ class PullDownMenu: ID_EXPAND = wxNewId() ID_COLLAPSE = wxNewId() ID_PASTE_SIBLING = wxNewId() + ID_TOOL_PASTE = wxNewId() ID_SUBCLASS = wxNewId() def __init__(self, parent): @@ -874,7 +875,7 @@ class XML_Tree(wxTreeCtrl): def CloseTestWindow(self): if not g.testWin: return self.SetItemBold(g.testWin.item, False) - g.frame.tb.ToggleTool(g.frame.ID_LOCATE_TOOL, False) + g.frame.tb.ToggleTool(g.frame.ID_TOOL_LOCATE, False) g.testWinPos = g.testWin.GetPosition() g.testWin.Destroy() g.testWin = None