diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2013-09-10 08:54:20 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-09-10 08:54:20 +1000 |
commit | 32017d0cd200cca9f575e25cbd56f0f3f991ef9a (patch) | |
tree | 91cf17d395285f707f2ecbd5b4c68a068710ac90 /cocoa/ScintillaCocoa.mm | |
parent | cf7272753b7f80e10f932084dba1e60f94ea21dd (diff) | |
download | scintilla-mirror-32017d0cd200cca9f575e25cbd56f0f3f991ef9a.tar.gz |
Pass control ID with WM_NOTIFY for compatibility with other platforms.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-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 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); } } |