diff options
Diffstat (limited to 'cocoa')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index b21dbb102..ec78479b9 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -2058,7 +2058,7 @@ void ScintillaCocoa::NotifyChange()  void ScintillaCocoa::NotifyFocus(bool focus)  { -  if (notifyProc != NULL) +  if (commandEvents && notifyProc)      notifyProc(notifyObj, WM_COMMAND, Platform::LongFromTwoShorts(static_cast<short>(GetCtrlID()),  	       (focus ? SCEN_SETFOCUS : SCEN_KILLFOCUS)),  	       (uintptr_t) this); | 
