Ticket #15095 (closed defect: fixed)
Menu events not passed to wxMenuBar
|Reported by:||RobertBColton||Owned by:|
|Keywords:||menu bar wxmenubar custom inherited class event||Cc:|
I have created a custom inherited wxMenuBar in the hopes of it handling its own events with a pointer back to the frame, so my frame class does not get any more cluttered. However the events do not register, but if I use the frame to connect them, they register but act like they are being called on the frame, not allowing me to access the custom classes pointers and not allowing me to access the frames pointers and definitions, but it thinks it can because its a member function of my custom class but if it accesses any of them, it immediately throws a segmentation fault.