documented wxMENU_TEAROFF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2b2edbedb4
commit
4e9865026f
@ -41,7 +41,8 @@ this window.
|
|||||||
|
|
||||||
\membersection{wxMenu::wxMenu}\label{wxmenuconstr}
|
\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.
|
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{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
|
\pythonnote{The wxPython version of the \tt{wxMenu} constructor
|
||||||
doesn't accept the callback argument because of reference counting
|
doesn't accept the callback argument because of reference counting
|
||||||
issues. There is a specialized wxMenu constructor called
|
issues. There is a specialized wxMenu constructor called
|
||||||
@ -60,6 +63,13 @@ otherwise your callback function will get dereferenced when the menu
|
|||||||
does.
|
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}}
|
\membersection{wxMenu::\destruct{wxMenu}}
|
||||||
|
|
||||||
\func{}{\destruct{wxMenu}}{\void}
|
\func{}{\destruct{wxMenu}}{\void}
|
||||||
@ -681,3 +691,8 @@ Use only after the menubar has been associated with a frame.
|
|||||||
|
|
||||||
\helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop}
|
\helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop}
|
||||||
|
|
||||||
|
|
||||||
|
%%% Local Variables:
|
||||||
|
%%% mode: latex
|
||||||
|
%%% TeX-master: t
|
||||||
|
%%% End:
|
||||||
|
Loading…
Reference in New Issue
Block a user