bug=184015

No plugin finder dialog pop-up when loading some applet pages in w/o jre installed
r=av@netscape.com, sr=beard@netscape.com, patch=joshua.xia@sun.com


git-svn-id: svn://10.0.0.236/trunk@138432 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pete.zha%sun.com
2003-02-25 06:06:10 +00:00
parent 53aac28f57
commit d2cabe7162

View File

@@ -715,9 +715,12 @@ void CPlugin::onPaint(HWND hWnd)
DeletePen(hPen3DDKShadow);
DeletePen(hPen3DShadow);
DeletePen(hPen3DLight);
DrawCommandMessage(hDC, m_szCommandMessage, &rc);
}
DrawCommandMessage(hDC, m_szCommandMessage, &rc);
else
if(m_hIcon != NULL)
DrawIconEx(hDC, x, y, m_hIcon, rc.right - rc.left, rc.bottom - rc.top, 0, NULL, DI_NORMAL);
EndPaint (hWnd, &ps);
}