]> git.saurik.com Git - wxWidgets.git/commitdiff
The method is called CreatePopupMenu, not CreatePopupIcon
authorMart Raudsepp <leio@gentoo.org>
Tue, 4 Jul 2006 17:01:12 +0000 (17:01 +0000)
committerMart Raudsepp <leio@gentoo.org>
Tue, 4 Jul 2006 17:01:12 +0000 (17:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/taskbar.tex

index be42f21d54317f229d4aee734589d291de092064..ddfd3c7a4f4181dc761219a458e521b3242c2803 100644 (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.