r=mkaply, a=brendan
OS/2 bringup - Need to increment appshell refcount to prevent crash
This commit is contained in:
mkaply%us.ibm.com 2000-06-27 21:39:05 +00:00
parent 7bcfca3c30
commit ff5f81fb66

View File

@ -352,7 +352,8 @@ void nsWindow::RealDoCreate( HWND hwndP,
// Record passed in things
mAppShell = aAppShell;
// OS2TODO - build break 6/16/00 due to nsCOMPtr changes NS_IF_ADDREF( mAppShell);
// NS_IF_ADDREF( mAppShell);
GetAppShell(); // Let the base widget class update the refcount for us....
mEventCallback = aHandleEventFunction;
if( mParent)