From 45b8a2566d46bf77f13553937df258e44c88a789 Mon Sep 17 00:00:00 2001
From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= <vslavik@fastmail.fm>
Date: Wed, 9 Jun 2004 15:38:09 +0000
Subject: [PATCH] removed unneeded prototype

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/window.tex | 4 +---
 include/wx/window.h      | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex
index ecd5b6798c..4973479624 100644
--- a/docs/latex/wx/window.tex
+++ b/docs/latex/wx/window.tex
@@ -1987,9 +1987,7 @@ default value is {\tt false}.}
 
 \membersection{wxWindow::PopupMenu}\label{wxwindowpopupmenu}
 
-\func{bool}{PopupMenu}{\param{wxMenu* }{menu}}
-
-\func{bool}{PopupMenu}{\param{wxMenu* }{menu}, \param{const wxPoint\& }{pos}}
+\func{bool}{PopupMenu}{\param{wxMenu* }{menu}, \param{const wxPoint\& }{pos = wxDefaultPosition}}
 
 \func{bool}{PopupMenu}{\param{wxMenu* }{menu}, \param{int }{x}, \param{int }{y}}
 
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); }
-- 
2.50.0

