aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-15 21:13:13 +1000
committernyamatongwe <devnull@localhost>2011-06-15 21:13:13 +1000
commitc324a93c5b9c104dafac98a30119aeeb1c60bcbc (patch)
tree00a5b9c77d4d2108d7d164b6076935d2d87e936a
parentbae460ae501e0c8bca86d34a9a0ca3cf4920ad8c (diff)
downloadscintilla-mirror-c324a93c5b9c104dafac98a30119aeeb1c60bcbc.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);
}
}