I'd like to suggest that the docs are just fine its the code that needs to implement
what they describe. The reason I asked is that its exactly the functionality I need.
I want the child window with focus to handle the UI_UPDATE and MENU messages.
With this missing I'll have to implement forwarding myself - obviously doable but
tedious.
Barry
···
On Jun 29, 2004, at 05:06, Robin Dunn wrote:
Barry Scott wrote:
The docs for wxMenuBar say:
"Note that menu commands (and UI update events for menus) are first sent to the focus window within the frame. If no window within the frame has the focus, then the events are sent directly to the frame. This allows command and UI update handling to be processed by specific windows and controls, and not necessarily by the application frame."
However I'm finding that when I select a menu item from the menu bar the EVT_MENU
event is always sent to the Frame not the panels containing ListCtrl or TreeCtrl withing
the Frame.
What am I doing wrong?It's probably a documentation bug, I don't see anything like that in the code. Please enter a bug report.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org