]> git.saurik.com Git - wxWidgets.git/commitdiff
make sure status item rect in bar is highlighted when clicked, fixes #13630
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 14 Apr 2012 07:33:06 +0000 (07:33 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 14 Apr 2012 07:33:06 +0000 (07:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/taskbar.mm

index 9b0d796a5b5a9351ec550d5999372a77d2ba5750..509d3c7e25cc097f0d4d812de08bb7fb7b022aef 100644 (file)
@@ -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];