When I declare a menu item as a special macOS menu item by giving it the identifier wxID_ABOUT, it correctly appears in the program menu but it doesn't seem to generate any event. Is there anything else I have to do or is this a bug?
This is the code:
wxMenuItem *item1 = new wxMenuItem(NULL, wxID_ABOUT, wxT("About"));
wxMenu *pop = new wxMenu();
pop->Bind(wxEVT_MENU, evtcallback_command, item1->GetId(), item1->GetId());
wxMenuBar *mb = new wxMenuBar();
When I select the "About" menu, evtcallback_command() is never called. When I use wxID_ANY instead of wxID_ABOUT it works correctly. But then the menu item doesn't appear in the program menu of course...
Complete test program attached.
Andreas Falkenhahn mailto:and...@falkenhahn.com