another tweak for bug 34631

This commit is contained in:
danm%netscape.com 2000-04-06 00:37:51 +00:00
parent 48f0c9789e
commit 1122730e8d

View File

@ -509,8 +509,10 @@ NS_IMETHODIMP nsMacWindow::Show(PRBool bState)
{
if ( mAcceptsActivation )
::ShowWindow(mWindowPtr);
else
else {
::BringToFront(mWindowPtr); // competes with ComeToFront, but makes popups work
::ShowHide(mWindowPtr, true);
}
ComeToFront();
}
else