Enabling calling HandleEvent for winless plugins on Windows

This commit is contained in:
av%netscape.com 1999-06-05 20:03:12 +00:00
Родитель 61486a51c5
Коммит 1bce801e7c
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -533,11 +533,12 @@ NS_IMETHODIMP ns4xPluginInstance::HandleEvent(nsPluginEvent* event, PRBool* hand
#if !TARGET_CARBON
// pinkerton
// relies on routine descriptors, not present in carbon. We need to fix this.
#ifdef XP_MAC
#if defined(XP_MAC) || defined(XP_WIN) //~~~
res = CallNPP_HandleEventProc(fCallbacks->event,
&fNPP,
(void*) event->event);
#endif
#endif
*handled = res;

Просмотреть файл

@ -533,11 +533,12 @@ NS_IMETHODIMP ns4xPluginInstance::HandleEvent(nsPluginEvent* event, PRBool* hand
#if !TARGET_CARBON
// pinkerton
// relies on routine descriptors, not present in carbon. We need to fix this.
#ifdef XP_MAC
#if defined(XP_MAC) || defined(XP_WIN) //~~~
res = CallNPP_HandleEventProc(fCallbacks->event,
&fNPP,
(void*) event->event);
#endif
#endif
*handled = res;