summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2b2edbe)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2959
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\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.
\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
doesn't accept the callback argument because of reference counting
issues. There is a specialized wxMenu constructor called
\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
+\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}
\membersection{wxMenu::\destruct{wxMenu}}
\func{}{\destruct{wxMenu}}{\void}
\helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop}
\helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: