Nathan Hüsken
2013-08-26 09:36:40 UTC
Hey,
When I compile the HelloWorld sample with the wxHaskell HEAD and run it,
the titles of the menus all contain a "&" at the beginning. As I
understand it, somewhere the "&" for marking the symbol with which the
menu can be opened via keyboard is replicated.
I debuged the code a little and found that this replication happens
somewhere with "menuSetTitle" and "menuGetTitle". When the menu is
created, its title is set with menuSetTitle. When the menuBar is
created, the title is retrieved with menutGetTitle, and that string
contains the extra "&".
This happens on ubuntu linux 13.04.
ghc-7.6.2
wxWidgets 2.9.5
Regards,
Nathan
When I compile the HelloWorld sample with the wxHaskell HEAD and run it,
the titles of the menus all contain a "&" at the beginning. As I
understand it, somewhere the "&" for marking the symbol with which the
menu can be opened via keyboard is replicated.
I debuged the code a little and found that this replication happens
somewhere with "menuSetTitle" and "menuGetTitle". When the menu is
created, its title is set with menuSetTitle. When the menuBar is
created, the title is retrieved with menutGetTitle, and that string
contains the extra "&".
This happens on ubuntu linux 13.04.
ghc-7.6.2
wxWidgets 2.9.5
Regards,
Nathan