X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/971562cb51391676afccb9822e491d677f052c0d..bfe1328804c7b82d28568f882d50d10824a827cc:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 67e839fd66..96385dd616 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -804,9 +804,7 @@ public: virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ; #if wxUSE_MENUS - bool PopupMenu(wxMenu *menu) - { return DoPopupMenu(menu, -1, -1); } - bool PopupMenu(wxMenu *menu, const wxPoint& pos) + 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); }