mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
fixed resizing issues
This commit is contained in:
parent
741d23d723
commit
e387e2f5dd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user