wxTaskBarIcon::wxTaskBarIcon(wxTaskBarIconType iconType)
{
- if(iconType == DOCK)
+ if(iconType == wxTBI_DOCK)
m_impl = new wxTaskBarIconDockImpl(this);
- else if(iconType == CUSTOM_STATUSITEM)
+ else if(iconType == wxTBI_CUSTOM_STATUSITEM)
m_impl = new wxTaskBarIconCustomStatusItemImpl(this);
else
{ m_impl = NULL;
m_target = [[wxOSXStatusItemTarget alloc] init];
[m_target setImplementation:this];
+ [m_statusItem setHighlightMode:YES];
[m_statusItem setTarget:m_target];
[m_statusItem setAction:@selector(clickedAction:)];
[m_statusItem sendActionOn:NSLeftMouseDownMask];