aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-09-10 08:54:20 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-09-10 08:54:20 +1000
commit5ffa63386eb9f6d1b558dd11abe71c2338992e5c (patch)
tree950c0f076e8ad6de9adc50aa3c471a34dcc030b8 /cocoa/ScintillaCocoa.mm
parentadac6c4294afb365ba53d803921d11288e558bc0 (diff)
downloadscintilla-mirror-5ffa63386eb9f6d1b558dd11abe71c2338992e5c.tar.gz
Pass control ID with WM_NOTIFY for compatibility with other platforms.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 57367fcac..8132bd8e0 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1726,7 +1726,7 @@ void ScintillaCocoa::NotifyParent(SCNotification scn)
{
scn.nmhdr.hwndFrom = (void*) this;
scn.nmhdr.idFrom = GetCtrlID();
- notifyProc(notifyObj, WM_NOTIFY, (uintptr_t) 0, (uintptr_t) &scn);
+ notifyProc(notifyObj, WM_NOTIFY, GetCtrlID(), (uintptr_t) &scn);
}
}