mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
win32 constant update
This commit is contained in:
parent
abf5805734
commit
d10fe251dd
1 changed files with 2 additions and 2 deletions
|
|
@ -1485,7 +1485,7 @@ private:
|
|||
originalWndProc = (void*) GetWindowLongPtr (pluginHWND, GWL_WNDPROC);
|
||||
|
||||
if (! pluginWantsKeys)
|
||||
SetWindowLongPtr (pluginHWND, GWL_WNDPROC, (LONG_PTR) vstHookWndProc);
|
||||
SetWindowLongPtr (pluginHWND, GWLP_WNDPROC, (LONG_PTR) vstHookWndProc);
|
||||
|
||||
#pragma warning (pop)
|
||||
|
||||
|
|
@ -1579,7 +1579,7 @@ private:
|
|||
#pragma warning (disable: 4244)
|
||||
|
||||
if (pluginHWND != 0 && IsWindow (pluginHWND))
|
||||
SetWindowLongPtr (pluginHWND, GWL_WNDPROC, (LONG_PTR) originalWndProc);
|
||||
SetWindowLongPtr (pluginHWND, GWLP_WNDPROC, (LONG_PTR) originalWndProc);
|
||||
|
||||
#pragma warning (pop)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue