On Thursday, August 12, 2010 10:31:09 am Ed Leafe wrote:
> 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

+1 for removeAll() for keys.

Johnf

_______________________________________________
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]

Reply via email to