This commit is contained in:
dcone%netscape.com 1998-09-25 15:12:22 +00:00
Родитель 741d23d723
Коммит e387e2f5dd
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -75,6 +75,7 @@ LongRect destRect,viewRect;
PRUint32 teFlags=0;
GrafPtr curport;
PRInt32 offx,offy;
nsWindow *thewindow;
mParent = aParent;
@ -85,7 +86,11 @@ PRInt32 offx,offy;
WindowPtr window = nsnull;
if (aParent)
{
window = (WindowPtr) aParent->GetNativeData(NS_NATIVE_WIDGET);
//window = thewindow->GetWindowPtr();
//window =
}
else
if (aAppShell)
window = (WindowPtr) aAppShell->GetNativeData(NS_NATIVE_SHELL);