The method is called CreatePopupMenu, not CreatePopupIcon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp 2006-07-04 17:01:12 +00:00
parent 8f9643924b
commit 239ef31452

View File

@ -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.