Default position for PopupMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1436,12 +1436,13 @@ of how to call UpdateWindowUI from an idle function::
|
|||||||
|
|
||||||
|
|
||||||
DocStr(PopupMenu,
|
DocStr(PopupMenu,
|
||||||
"Pops up the given menu at the specified coordinates, relative to this
|
"Pops up the given menu at the specified coordinates, relative to this window,
|
||||||
window, and returns control when the user has dismissed the menu. If a
|
and returns control when the user has dismissed the menu. If a menu item is
|
||||||
menu item is selected, the corresponding menu event is generated and
|
selected, the corresponding menu event is generated and will be processed as
|
||||||
will be processed as usual.", "");
|
usual. If the default position is given then the current position of the
|
||||||
%name(PopupMenuXY) bool PopupMenu(wxMenu *menu, int x, int y);
|
mouse cursor will be used.", "");
|
||||||
bool PopupMenu(wxMenu *menu, const wxPoint& pos);
|
%name(PopupMenuXY) bool PopupMenu(wxMenu *menu, int x=-1, int y=-1);
|
||||||
|
bool PopupMenu(wxMenu *menu, const wxPoint& pos=wxDefaultPosition);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user