#include "wx/wxprec.h"
-#ifdef wxHAS_TASK_BAR_ICON
+#if wxUSE_TASKBARICON
#include "wx/taskbar.h"
wxMenuItem *item = NULL;
if (id != 0) // get the wxMenuItem reference from the MenuRef
- GetMenuItemRefCon( menuRef, menuItemIndex, (UInt32*) &item );
+ GetMenuItemRefCon( menuRef, menuItemIndex, (URefCon*) &item );
if (item)
{
new wxMenuItem(
m_pMenu, // parent menu
theItem->GetId(), // id
- theItem->GetText(), // text label
+ theItem->GetItemLabel(), // text label
theItem->GetHelp(), // status bar help string
theItem->GetKind(), // menu flags - checkable, separator, etc.
wxDeepCopyMenu(theItem->GetSubMenu()) )); // submenu
bool wxTaskBarIcon::PopupMenu(wxMenu *menu)
{ return m_impl->PopupMenu(menu); }
-#endif // wxHAS_TASK_BAR_ICON
+#endif // wxUSE_TASKBARICON