X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6776a0b25c1122df4e2a29655ed9de2fcde1735f..953704c1c76cfb9cfb7b91f0e81f98c30d27eb56:/docs/latex/wx/menu.tex diff --git a/docs/latex/wx/menu.tex b/docs/latex/wx/menu.tex index 72b2242859..136021b3ed 100644 --- a/docs/latex/wx/menu.tex +++ b/docs/latex/wx/menu.tex @@ -41,7 +41,8 @@ this window. \membersection{wxMenu::wxMenu}\label{wxmenuconstr} -\func{}{wxMenu}{\param{const wxString\& }{title = ""}, \param{const wxFunction}{ func = NULL}} +\func{}{wxMenu}{\param{const wxString\& }{title = ""}, + \param{const wxFunction}{ func = NULL}\param{long}{ style = 0}} Constructs a wxMenu object. @@ -51,6 +52,8 @@ Constructs a wxMenu object. \docparam{func}{A callback function if the menu is used as a popup using \helpref{wxWindow::PopupMenu}{wxwindowpopupmenu}.} +\docparam{style}{If set to \tt{wxMENU_TEAROFF}, the menu will be detachable.} + \pythonnote{The wxPython version of the \tt{wxMenu} constructor doesn't accept the callback argument because of reference counting issues. There is a specialized wxMenu constructor called @@ -60,6 +63,13 @@ otherwise your callback function will get dereferenced when the menu does. } +\func{}{wxMenu}{\param{long}{ style }} + +Constructs a wxMenu object. + +\wxheading{Parameters} +\docparam{style}{If set to \tt{wxMENU_TEAROFF}, the menu will be detachable.} + \membersection{wxMenu::\destruct{wxMenu}} \func{}{\destruct{wxMenu}}{\void} @@ -681,3 +691,8 @@ Use only after the menubar has been associated with a frame. \helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: