fix use of undeclared identifier NSEventMaskLeftMouseDown
This commit is contained in:
parent
30834f7b4d
commit
a248a96ba7
1 changed files with 2 additions and 0 deletions
|
|
@ -377,7 +377,9 @@ bool wxTaskBarIconCustomStatusItemImpl::SetIcon(const wxBitmapBundle& icon, cons
|
|||
[m_target setImplementation:this];
|
||||
[[m_statusItem button] setTarget:m_target];
|
||||
[[m_statusItem button] setAction:@selector(clickedAction:)];
|
||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12
|
||||
[[m_statusItem button] sendActionOn: NSEventMaskLeftMouseDown | NSEventMaskRightMouseDown];
|
||||
#endif
|
||||
}
|
||||
|
||||
m_icon = IconFromBundle(icon);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue