diff options
author | nyamatongwe <devnull@localhost> | 2011-06-15 21:13:13 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-06-15 21:13:13 +1000 |
commit | c324a93c5b9c104dafac98a30119aeeb1c60bcbc (patch) | |
tree | 00a5b9c77d4d2108d7d164b6076935d2d87e936a | |
parent | bae460ae501e0c8bca86d34a9a0ca3cf4920ad8c (diff) | |
download | scintilla-mirror-c324a93c5b9c104dafac98a30119aeeb1c60bcbc.tar.gz |
Use control identifier in notification messages for compatibility
with other platforms.
-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 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); } } |