X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/396e9eb8e296a2e128efa16c88c7899275b454ec..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 52b6daafc2..2260f8fe3d 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -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); } @@ -1679,8 +1680,9 @@ protected: // of the left and the right border in the x component of the returned size // and the sum of the heights of the top and bottom borders in the y one // - // NB: this is currently only implemented by wxMSW and wxUniv so far and - // simply asserts in the other ports + // NB: this is currently only implemented properly for wxMSW, wxGTK and + // wxUniv and doesn't behave correctly in the presence of scrollbars in + // the other ports virtual wxSize DoGetBorderSize() const; // move the window to the specified location and resize it: this is called