From: Stefan Csomor Date: Sat, 14 Apr 2012 07:33:06 +0000 (+0000) Subject: make sure status item rect in bar is highlighted when clicked, fixes #13630 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4e30a4ce57151b46d1f327e4b1bf0682708f1001 make sure status item rect in bar is highlighted when clicked, fixes #13630 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/taskbar.mm b/src/osx/cocoa/taskbar.mm index 9b0d796a5b..509d3c7e25 100644 --- a/src/osx/cocoa/taskbar.mm +++ b/src/osx/cocoa/taskbar.mm @@ -347,6 +347,7 @@ bool wxTaskBarIconCustomStatusItemImpl::SetIcon(const wxIcon& icon, const wxStri 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];