nsSplashScreenMac::Show() { mDialog = ::GetNewDialog( rSplashDialog, nil, (WindowPtr)-1L ); mPicHandle = GetPicture( rSplashDialog ); SetWindowPic( mDialog, mPicHandle ); ::ShowWindow( mDialog ); ::SetPort( mDialog ); Rect rect = (**mPicHandle).picFrame; ::DrawPicture( mPicHandle, &rect ); return NS_OK;
nsSplashScreenMac::Show() { mDialog = ::GetNewDialog(rSplashDialog, nil, (WindowPtr)-1L); if (!mDialog) return NS_ERROR_FAILURE;  ::ShowWindow(mDialog); ::SetPort(mDialog);  ::DrawDialog(mDialog);  return NS_OK;
nsSplashScreenMac::Show() {	mDialog = ::GetNewDialog( rSplashDialog, nil, (WindowPtr)-1L );	mPicHandle = GetPicture( rSplashDialog );	SetWindowPic( mDialog, mPicHandle );	::ShowWindow( mDialog );	::SetPort( mDialog );	Rect rect = (**mPicHandle).picFrame;	::DrawPicture( mPicHandle, &rect );     return NS_OK;}