Ticket #60 (closed defect)

Opened 8 years ago

Last modified 7 years ago

Menu shortcuts using alt not always working

Reported by: kirsteng Owned by: vadz
Priority: normal Milestone:
Component: wxMSW Version:
Keywords: Cc: kirsteng, vadz
Blocked By: Patch: no
Blocking:

Description

In my program when I only have a frame menubar and statusbar the menubar works and the menubar can be accessed via the alt key comibnations such as alt-f for file ect.
However when I add a wxPanel the menubar is no longer acceable via the alt-key combinations. However if I press alt and let it go I am able to just press f for file but that is not how menu's usually work. I modified the minimal program by basicly just adding a wxPanel.
If I replace the wxPanel with a wxScrolledWindow the problem dissapears. But that is not what I want. I looked at the calendar example and it uses a method almost identical to me, to add the panel but it does not have the same problem.
I am running Win 98 and using the borland 5.5 free command line compiler.

Change History

Changed 8 years ago by kirsteng

I figured out when it does this by breaking the calendar program down until it too gives the same behaviour. The minute I removed the calendar control it too did not work. I removed many other things but they seemed to make no difference. So I guess the that the problem is only there when a emty panel exists. However drawing to the panel does not fix it. And that is all I want to do. I can use a scrolledwindow but I feel it may be overkill.

Changed 7 years ago by vadz

I think this has been fixed, at least I can't reproduce it
any longer

Note: See TracTickets for help on using tickets.