]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / window.h
index 6c7930a209a225264de6e15555ada29b070cb60b..2260f8fe3de1fafcd85dde19aff943123c540427 100644 (file)
@@ -1147,7 +1147,8 @@ public:
 
     // simply return the id of the selected item or wxID_NONE without
     // generating any events
-    int GetPopupMenuSelectionFromUser(wxMenu& menu, const wxPoint& pos)
+    int GetPopupMenuSelectionFromUser(wxMenu& menu,
+                                      const wxPoint& pos = wxDefaultPosition)
         { return DoGetPopupMenuSelectionFromUser(menu, pos.x, pos.y); }
     int GetPopupMenuSelectionFromUser(wxMenu& menu, int x, int y)
         { return DoGetPopupMenuSelectionFromUser(menu, x, y); }