]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed the popup menus when you right click a widget.
authorGeorge Tasker <gtasker@allenbrook.com>
Tue, 19 Dec 2000 02:00:47 +0000 (02:00 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Tue, 19 Dec 2000 02:00:47 +0000 (02:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/dialoged/src/reseditr.cpp

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