Hi David,
thank you for the detailed answer! I checked for your suggestions and had a look inside the 'render' sample
- it uses accelerators
Code: Select all
menuFile->AppendCheckItem(Render_DrawDisabled, "Draw in &disabled state\tCtrl-D");
- it catches them in the frame
Code: Select all
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
EVT_MENU(Render_DrawDisabled, MyFrame::OnDrawDisabled)
....
wxEND_EVENT_TABLE()
- it works
So in our application,
- we use accelerators
Code: Select all
fileMenu->Append(wxID_HIGHEST + MENULOADALL, _("&Load\tCTRL+L"));
- we catch them in the frame
Code: Select all
BEGIN_EVENT_TABLE(mxwFrame, wxFrame)
....
EVT_MENU(wxID_HIGHEST+MENULOADALL, mxwFrame::OnLoadAll)
....
END_EVENT_TABLE()
- it does not work (in wxGTK)
I have the feeling the entries get overwritten/lost anything like that. Any idea how i could check that?
Is there a kind of event table 'getter' that i could call and check for changes?
Best,