Application hangs when using shortcut in wxNotebook (MSW)

Vadim Zeitlin vadim at wxwindows.org
Sat Sep 9 14:07:38 PDT 2006


On Wed, 6 Sep 2006 08:58:20 +0200 "Anders Hansson XZ (LD/EAB)" <anders.xz.hansson at ericsson.com> wrote:

AHX> I've stumbled upon some problems when using the wxNotebook. I first
AHX> though that I did something odd/wrong when setting things up in my code
AHX> but then I tried to compile the Notebook sample and it displayed the
AHX> same same behaviour.
AHX> 
AHX> What happens is:
AHX> 
AHX> 1. A notebook with several tabs and one of the tabs is in focus (where
AHX> you can change tabs using left/right arrow) 
AHX> 
AHX> 2. Try to access the menu with the keyboard shortcut ALT+<whatever>
AHX> 
AHX> 3. The application hangs with 99% CPU load.
AHX> 
AHX> The application (as well as the sample) is compiled using MinGW and
AHX> wxWidgets-2.6.3 on Windows 2000.
AHX> 
AHX> Anybody have any idea or at least can confirm the behaviour of the
AHX> wxNotebook sample.

 I can confirm the bug under Windows 2000. It works fine under Windows XP
and 2003 however. This is yet another bug in IsDialogMessage() function
which we use for dialog navigation: we already have numerous workarounds in
place to avoid calling it when it gets into infinite loop but new ones keep
to be found, unfortunately. I'll try to look at what can be done to fix
this.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list