It was a bug in wxWidgets, which is fixed in the current svn version.
On 08/26/2013 11:36 AM, Nathan Hüsken wrote:
> 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
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> wxhaskell-devel mailing list
> wxh...@li...
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
|