On Aug 12, 2010, at 8:19 AM, Jacek Kałucki wrote:
> I have a question about dControlItemMixin.removeAll() method.
> Why it removes choices from control but leaves keys apart?
Probably because it mirrored the action of the underlying wx method?
wxPython has no concept of Keys in their wx.Choice control.
There is nothing in the code, btw, that prevents you from changing the
Choices and Keys properties independently, and totally screwing yourself up.
+1 for clearing Keys in removeAll(); -1 for trying to prevent people
from hosing themselves by not keeping Choices and Keys in sync.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]