Fixed the popup menus when you right click a widget.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2000-12-19 02:00:47 +00:00
parent 76e23cdba3
commit 1378f26027

View File

@@ -2402,7 +2402,7 @@ void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event)
if (!data)
return;
switch (event.GetInt())
switch (event.GetId())
{
case OBJECT_MENU_EDIT:
{