Version 1.64Version 1.65
/* -*- Mode: C++; tab-width: 2; c-basic-offset: 2 -*- */                        
/* -*- Mode: C++; tab-width: 2; c-basic-offset: 2 -*- */                        
/* ***** BEGIN LICENSE BLOCK *****                                              
/* ***** BEGIN LICENSE BLOCK *****                                              
 * Version: NPL 1.1/GPL 2.0/LGPL 2.1                                            
 * Version: NPL 1.1/GPL 2.0/LGPL 2.1                                            
 *                                                                              
 *                                                                              
 * The contents of this file are subject to the Netscape Public License         
 * The contents of this file are subject to the Netscape Public License         
Skipping to line 494: 
                                        nsWidgetInitData *aInitData,            
                                        nsWidgetInitData *aInitData,            
                                        nsNativeWidget aNativeParent)           
                                        nsNativeWidget aNativeParent)           
{                                                                               
{                                                                               
  nsIWidget *baseParent = aInitData &&                                          
  nsIWidget *baseParent = aInitData &&                                          
                          (aInitData->mWindowType == eWindowType_dialog ||      
                          (aInitData->mWindowType == eWindowType_dialog ||      
                           aInitData->mWindowType == eWindowType_toplevel) ?    
                           aInitData->mWindowType == eWindowType_toplevel ||    
                                                                                
                           aInitData->mWindowType == eWindowType_invisible) ?   
                          nsnull : aParent;                                     
                          nsnull : aParent;                                     
                                                                                
                                                                                
  mIsTopWidgetWindow = (nsnull == baseParent);                                  
  mIsTopWidgetWindow = (nsnull == baseParent);                                  
                                                                                
                                                                                
  BaseCreate(baseParent, aRect, aHandleEventFunction, aContext,                 
  BaseCreate(baseParent, aRect, aHandleEventFunction, aContext,                 
Skipping to line 619: 
            flags |= B_NOT_ZOOMABLE;                                            
            flags |= B_NOT_ZOOMABLE;                                            
          }                                                                     
          }                                                                     
          // don't break here                                                   
          // don't break here                                                   
        }                                                                       
        }                                                                       
        case eWindowType_toplevel:                                              
        case eWindowType_toplevel:                                              
                                                                                
        case eWindowType_invisible:                                             
        {                                                                       
        {                                                                       
          // This was never documented, so I'm not sure why we do it, yet       
          // This was never documented, so I'm not sure why we do it, yet       
          winrect.OffsetBy( 10, 30 );                                           
          winrect.OffsetBy( 10, 30 );                                           
                                                                                
                                                                                
#ifdef MOZ_DEBUG_WINDOW_CREATE                                                  
#ifdef MOZ_DEBUG_WINDOW_CREATE                                                  


  Mail feedback and feature requests to sysadmins@mozilla.org.