*** empty log message ***

git-svn-id: svn://10.0.0.236/trunk@35036 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
1999-06-12 21:32:49 +00:00
parent 11dac7bbef
commit e21e1c0c2f
2 changed files with 14 additions and 6 deletions

View File

@@ -2467,9 +2467,13 @@ void nsPluginInstanceOwner::Paint(const nsRect& aDirtyRect)
//~~~
#ifdef XP_WIN
nsPluginEvent pluginEvent;
PRBool eventHandled = PR_FALSE;
mInstance->HandleEvent(&pluginEvent, &eventHandled);
nsPluginEvent pluginEvent;
nsPluginPort* pluginPort = GetPluginPort();
pluginEvent.event = 0x000F; //!!! This is bad, but is it better to include <windows.h> for WM_PAINT only?
pluginEvent.wParam = (uint32)pluginPort;
pluginEvent.lParam = nsnull;
PRBool eventHandled = PR_FALSE;
mInstance->HandleEvent(&pluginEvent, &eventHandled);
#endif
}

View File

@@ -2467,9 +2467,13 @@ void nsPluginInstanceOwner::Paint(const nsRect& aDirtyRect)
//~~~
#ifdef XP_WIN
nsPluginEvent pluginEvent;
PRBool eventHandled = PR_FALSE;
mInstance->HandleEvent(&pluginEvent, &eventHandled);
nsPluginEvent pluginEvent;
nsPluginPort* pluginPort = GetPluginPort();
pluginEvent.event = 0x000F; //!!! This is bad, but is it better to include <windows.h> for WM_PAINT only?
pluginEvent.wParam = (uint32)pluginPort;
pluginEvent.lParam = nsnull;
PRBool eventHandled = PR_FALSE;
mInstance->HandleEvent(&pluginEvent, &eventHandled);
#endif
}