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;
{
}
-bool wxTaskBarIconCustomStatusItemImpl::SetIcon(const wxIcon& icon, const wxString& WXUNUSED(tooltip))
+bool wxTaskBarIconCustomStatusItemImpl::SetIcon(const wxIcon& icon, const wxString& tooltip)
{
if(!m_statusItem)
{
}
[m_statusItem setImage:m_icon.GetNSImage()];
+ wxCFStringRef cfTooltip(tooltip);
+ [m_statusItem setToolTip:cfTooltip.AsNSString()];
return true;
}