X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c98885ee88b2a8587ad5e3af656f422b95b2de1..9920ad328b7bb97ad927b9524cbe6e1b785be742:/docs/latex/wx/taskbar.tex 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.