From 6f86c8af606a573af00b326eb93b7b5e4807e5df Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 24 Dec 2005 01:31:55 +0000 Subject: [PATCH] warn that GetMenu() may return NULL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/menuevt.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/menuevt.tex b/docs/latex/wx/menuevt.tex index 46f9e20883..58270d758e 100644 --- a/docs/latex/wx/menuevt.tex +++ b/docs/latex/wx/menuevt.tex @@ -54,7 +54,8 @@ Constructor. \constfunc{wxMenu *}{GetMenu}{\void} Returns the menu which is being opened or closed. This method should only be -used with the \texttt{OPEN} and \texttt{CLOSE} events. +used with the \texttt{OPEN} and \texttt{CLOSE} events and even for them the +returned pointer may be \NULL in some ports. \membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid} -- 2.47.2