X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d616e99ed03d6bcefea61cf099b6bdb3f3457d4..b23bc769d3d1943ca2b02ca90701d86b00880af9:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 17be18c237..6bc220b4d3 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1046,9 +1046,8 @@ public: // show popup menu at the given position, generate events for the items // selected in it bool PopupMenu(wxMenu *menu, const wxPoint& pos = wxDefaultPosition) - { return DoPopupMenu(menu, pos.x, pos.y); } - bool PopupMenu(wxMenu *menu, int x, int y) - { return DoPopupMenu(menu, x, y); } + { return PopupMenu(menu, pos.x, pos.y); } + bool PopupMenu(wxMenu *menu, int x, int y); // simply return the id of the selected item or wxID_NONE without // generating any events