Moved the popup menu event handlers to dialog event handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-01-18 11:50:14 +00:00
parent dfb06c62ff
commit 59ae507561
5 changed files with 41 additions and 54 deletions

View File

@@ -19,8 +19,6 @@
#include "wx/proplist.h"
#include "reseditr.h"
extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event);
class MyChild;
// Define a new application
@@ -31,11 +29,6 @@ public:
bool OnInit(void);
int OnExit(void);
void OnObjectPopupMenu(wxCommandEvent& event)
{
ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
}
private:
DECLARE_EVENT_TABLE()
};