]> git.saurik.com Git - wxWidgets.git/commitdiff
warn that GetMenu() may return NULL
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Dec 2005 01:31:55 +0000 (01:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Dec 2005 01:31:55 +0000 (01:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/menuevt.tex

index 46f9e208836448f3e05d381db4e91cabe1ea254a..58270d758e92002a065e5bee2e566f96fe1b0cd0 100644 (file)
@@ -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}