aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-06-15 21:13:13 +1000
committernyamatongwe <unknown>2011-06-15 21:13:13 +1000
commitb327946014139b1555403e56426472d5aa3d4cec (patch)
tree603c3737bb68876af60c8dc4cd602ec8542125a2
parent3f88fe19bb5483c64e3328fb15a1195bed99ca3e (diff)
downloadscintilla-mirror-b327946014139b1555403e56426472d5aa3d4cec.tar.gz
Use control identifier in notification messages for compatibility
with other platforms.
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
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);
}
}