DoMacFixUp(&mPluginWindow,mWidget);
void nsPluginInstanceOwner::Paint(const nsRect& aDirtyRect, PRUint32 ndc){#ifdef XP_MAC  if (mInstance != NULL) {    nsPluginPort* pluginPort = GetPluginPort();    EventRecord updateEvent;    ::OSEventAvail(0, &updateEvent);    updateEvent.what = updateEvt;    updateEvent.message = UInt32(pluginPort->port);    nsPluginEvent pluginEvent = { &updateEvent, nsPluginPlatformWindowRef(pluginPort->port) };    PRBool eventHandled = PR_FALSE;    DoMacFixUp(&mPluginWindow,mWidget);        mInstance->HandleEvent(&pluginEvent, &eventHandled);	}#endif//~~~#ifdef XP_WIN	nsPluginEvent pluginEvent;  pluginEvent.event = 0x000F; //!!! This is bad, but is it better to include <windows.h> for WM_PAINT only?  pluginEvent.wParam = (uint32)ndc;  pluginEvent.lParam = nsnull;	PRBool eventHandled = PR_FALSE;	mInstance->HandleEvent(&pluginEvent, &eventHandled);#endif}