// Define a new application
class MyApp: public wxApp
{
- public:
+public:
MyApp(void);
bool OnInit(void);
int OnExit(void);
-
+
void OnObjectPopupMenu(wxCommandEvent& event)
{
- return ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
+ ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
}
-
+
private:
DECLARE_EVENT_TABLE()
};