From c324a93c5b9c104dafac98a30119aeeb1c60bcbc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 15 Jun 2011 21:13:13 +1000 Subject: Use control identifier in notification messages for compatibility with other platforms. --- cocoa/ScintillaCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index b1ed92727..9128f12e1 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1340,7 +1340,7 @@ void ScintillaCocoa::NotifyParent(SCNotification scn) if (notifyProc != NULL) { scn.nmhdr.hwndFrom = (void*) this; - scn.nmhdr.idFrom = (uintptr_t) wMain.GetID(); + scn.nmhdr.idFrom = GetCtrlID(); notifyProc(notifyObj, WM_NOTIFY, (uintptr_t) 0, (uintptr_t) &scn); } } -- cgit v1.2.3