From: shelarcy <she...@gm...> - 2008-12-13 01:23:09
|
Hi, On Thu, 04 Dec 2008 16:57:16 +0900, Bernd Holzmüller <ber...@ic...> wrote: > in wxHaskell 0.9, I used the following definition to create a Cancel-Button > > cancelButton w = button w [ text := "Cancel", identity := wxID_CANCEL ] > > which allowed me to add a cancel button to a dialog that could also be > cancelled by using the Escape-Key. However, in the 0.10.3 version of > wxHaskell the Escape-Key does no longer close the dialog (pressing it > has no effect). > > Does anybody know whether this is due to the wxWidgets release change or > is it due to a change in the wxHaskell implementation? This problem is come from wxWidgets' keycode change. I fixed that before in the darcs repository. [Fix: hardcoded keycode doesn't work well when using wxWidgets 2.8.x. shelarcy <she...@gm...>**20080630120118] So, I think your problem will fix when we release wxHaskell 0.11.0. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |