- if (event.IsCommandEvent() && !event.IsKindOf(CLASSINFO(wxChildFocusEvent)))
- {
- // Problem: we can get infinite recursion because the events
- // climb back up to this frame, and repeat.
- // Assume that command events don't cause another command event
- // to be called, so we can rely on inCommand not being overwritten
+ if (event.IsCommandEvent() && !event.IsKindOf(CLASSINFO(wxChildFocusEvent))){
+ // Problem: we can get infinite recursion because the events
+ // climb back up to this frame, and repeat.
+ // Assume that command events don't cause another command event
+ // to be called, so we can rely on inCommand not being overwritten