[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[4]: [lmi] Code review: product editor
From: |
Vadim Zeitlin |
Subject: |
Re[4]: [lmi] Code review: product editor |
Date: |
Thu, 22 Mar 2007 00:38:12 +0100 |
On Thu, 22 Mar 2007 00:31:06 +0100 Evgeniy Tarassov <address@hidden> wrote:
ET> I'd expect an EVT_TREE_SEL_CHANGED event to be generated,
ET> but from WX docs:
ET> wxTreeItemId GetItem() const
ET> Returns the item (valid for all events).
ET> Such an event could only return the root node id.
This is a misunderstanding, "valid for all events" doesn't mean that the
returned wxTreeItemId is always valid (it is not) but just that it is legal
to call GetItem() from any tree event handler, unlike, say, GetKeyCode()
method of the same class which can only be called from TREE_KEY_DOWN event
handler.
Regards,
VZ
- Re: [lmi] Code review: product editor, (continued)
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/12
- Re[2]: [lmi] Code review: product editor, Vadim Zeitlin, 2007/03/12
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/12
- Re[2]: [lmi] Code review: product editor, Vadim Zeitlin, 2007/03/12
- Re: Re[2]: [lmi] Code review: product editor, Evgeniy Tarassov, 2007/03/20
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/21
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/21
- Re: [lmi] Code review: product editor, Evgeniy Tarassov, 2007/03/21
- Re[2]: [lmi] Code review: product editor, Vadim Zeitlin, 2007/03/21
- Re: Re[2]: [lmi] Code review: product editor, Evgeniy Tarassov, 2007/03/21
- Re[4]: [lmi] Code review: product editor,
Vadim Zeitlin <=
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/29
- Re[2]: [lmi] Code review: product editor, Vadim Zeitlin, 2007/03/29
- Re: Re[2]: [lmi] Code review: product editor, Evgeniy Tarassov, 2007/03/29
- Re[4]: [lmi] Code review: product editor, Vadim Zeitlin, 2007/03/29
- [lmi] Safe and consistent dereferencing and casting [Was: Code review: product editor], Greg Chicares, 2007/03/23
- Re: [lmi] Safe and consistent dereferencing and casting [Was: Code review: product editor], Evgeniy Tarassov, 2007/03/26
- [lmi] Toward a consistent naming convention [Was: Code review: product editor], Greg Chicares, 2007/03/23
- Re: [lmi] Toward a consistent naming convention [Was: Code review: product editor], Vadim Zeitlin, 2007/03/23
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/23
- Re: [lmi] Code review: product editor, Greg Chicares, 2007/03/25