Деян Хаджиев
2014-07-21 13:00:04 UTC
Hi,
I'm debugging a project written to work with wxWidgets 2.8.12. However I
encountered a bug, that I could not think of an easy workaround for.
I have a class decending from wxGrid, and some elements on it. I want to
have a right-click popup window for the elements, but after handling the
right mouse event and creating the wxMenu for the call to PopupMenu, the
click on the popup window itself doesn't generate any events. I even tried
with wxApp::FilterEvents(..) but cought no events with the specified Id in
the menu creation. This problem is only on Linux (wxX11) and everything
works fine on wxGTK, and the other operating systems.
Do you know what can I do to catch the desired events? TIA.
Regards
Deyan Hadzhiev
I'm debugging a project written to work with wxWidgets 2.8.12. However I
encountered a bug, that I could not think of an easy workaround for.
I have a class decending from wxGrid, and some elements on it. I want to
have a right-click popup window for the elements, but after handling the
right mouse event and creating the wxMenu for the call to PopupMenu, the
click on the popup window itself doesn't generate any events. I even tried
with wxApp::FilterEvents(..) but cought no events with the specified Id in
the menu creation. This problem is only on Linux (wxX11) and everything
works fine on wxGTK, and the other operating systems.
Do you know what can I do to catch the desired events? TIA.
Regards
Deyan Hadzhiev
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users