From: Mart Raudsepp Date: Tue, 4 Jul 2006 17:01:12 +0000 (+0000) Subject: The method is called CreatePopupMenu, not CreatePopupIcon X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/239ef314528b253ea4ca5946ec2cfcb74bab1866?ds=inline The method is called CreatePopupMenu, not CreatePopupIcon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/taskbar.tex b/docs/latex/wx/taskbar.tex index be42f21d54..ddfd3c7a4f 100644 --- a/docs/latex/wx/taskbar.tex +++ b/docs/latex/wx/taskbar.tex @@ -75,7 +75,7 @@ This method is called by the library when the user requests popup menu (on Windows and Unix platforms, this is when the user right-clicks the icon). Override this function in order to provide popup menu associated with the icon. -If CreatePopupIcon returns NULL (this happens by default), +If CreatePopupMenu returns NULL (this happens by default), no menu is shown, otherwise the menu is displayed and then deleted by the library as soon as the user dismisses it. The events can be handled by a class derived from wxTaskBarIcon. @@ -102,7 +102,7 @@ a class derived from wxTaskBarIcon. \wxheading{Note} It is recommended to override -\helpref{CreatePopupIcon}{wxtaskbariconcreatepopupmenu} +\helpref{CreatePopupMenu}{wxtaskbariconcreatepopupmenu} callback instead of calling this method from event handler, because some ports (e.g. wxCocoa) may not implement PopupMenu and mouse click events at all.