[wxPython-users] Bug: No way to delete a Control in wx.Toolbar?

Christopher Barker Chris.Barker at noaa.gov
Mon Dec 18 11:07:14 PST 2006


>> def OnRemoveButton(self, event): 
>> self.tb.RemoveTool(self.theControl.GetId())

Is there no way to Remove a tool by passing a reference to the tool, 
rather than an ID? as some of you may know, I'm on a quest to abolish 
explicit IDs....

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list