Hi,
wxPython 2.9.1.1, Win32.
I have attached a small sample app with a dialog box, a combo box, a text control and 2 buttons.
When I expand the combo box and hit Esc, the dialog is dismissed. The correct behavior on Windows would be to only close the combo box, and a user should press Esc for the second time to dismiss the dialog. Is there a way to achieve that in wx?
The second problem is more pressing. When I right click the text control to display a popup menu and then hit Esc to close it, the dialog is closed instead and the popup menu stays on the screen, which looks quite ugly. The correct behavior is of course to close only the popup menu, and then second Esc to close the dialog. Is there a way to fix this?
Thanks in advance.
Not that I can think of. Please create a ticket about this at trac.wxwidgets.org.
···
On 2/18/11 3:55 AM, Michał Bałamut wrote:
Hi,
wxPython 2.9.1.1, Win32.
I have attached a small sample app with a dialog box, a combo box, a text control and 2 buttons.
When I expand the combo box and hit Esc, the dialog is dismissed. The correct behavior on Windows would be to only close the combo box, and a user should press Esc for the second time to dismiss the dialog. Is there a way to achieve that in wx?
The second problem is more pressing. When I right click the text control to display a popup menu and then hit Esc to close it, the dialog is closed instead and the popup menu stays on the screen, which looks quite ugly. The correct behavior is of course to close only the popup menu, and then second Esc to close the dialog. Is there a way to fix this?
Thanks in advance.
Not that I can think of. Please create a ticket about this at
trac.wxwidgets.org.
After a few more tests I found out that it's a wxWidgets problem.
My ticket: http://trac.wxwidgets.org/ticket/12952
Unfortunately I have no idea how to fix it.