Shortcut issue on GTK contextual menu (2.8.7 release)

Guillaume Lelarge guillaume at lelarge.info
Wed Jun 11 13:20:50 PDT 2008


Hi,

I have an issue with pgAdmin's contextual menu. pgAdmin is a database 
tool written in C++ and using the wxWidgets toolkit (2.8.7 release on my 
laptop). GTK contextual menus don't show the shortcut but display an 
underscore in front of the shortcut letter. Win32 and Mac OS X release 
work great, no issue at all.

This afternoon, I did many tests. I tried 2.8.3, 2.8.4 which work great 
with pgadmin. I also tried 2.8.5 and this last one show the issue. I 
checked the differences between 2.8.4 and 2.8.5, and found that the 
culprit seems to be src/gtk/menu.cpp. I copied this file from 2.8.4 to 
2.8.5 and, tadammm, 2.8.5 now works for me :)  The same goes for 2.8.7.

AFAICS, this is the changeset that breaks our shortcut handling:
http://trac.wxwidgets.org/changeset/48053/wxWidgets/branches/WX_2_8_BRANCH/src/gtk/menu.cpp

And it's the last changeset on this branch. I don't understand why this 
change could break our stuff.

Is this issue known ? Perhaps we are badly handling shortcuts, do you 
have any tips related ?

Thanks.

Regards.


-- 
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com


More information about the wx-users mailing list