]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Fix for DLL compilation bug (Fritz Elfert)
[wxWidgets.git] / include / wx / window.h
index 67e839fd66db80ad4353312a513736a31b602962..96385dd616fd2e99a9b1b4f0d5e510fb0703cbd0 100644 (file)
@@ -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); }