- virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; // Simulates an event
- virtual void ProcessCommand(wxCommandEvent& event); // Calls the callback and
- // appropriate event handlers
+ // simulates the event, returns TRUE if the event was processed
+ virtual void Command(wxCommandEvent& WXUNUSED(event)) { }
+
+ // calls the callback and appropriate event handlers, returns TRUE if
+ // event was processed
+ virtual bool ProcessCommand(wxCommandEvent& event);
+