NS_METHOD nsWidget::Create(nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData) { return(CreateWidget(nsnull, aRect, aHandleEventFunction, aContext, aAppShell, aToolkit, aInitData, aParent)); }
inline NS_IMETHOD            Create(nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell = nsnull, nsIToolkit *aToolkit = nsnull, nsWidgetInitData *aInitData = nsnull) { return(CreateWidget(nsnull, aRect, aHandleEventFunction, aContext, aAppShell, aToolkit, aInitData,aParent)); }
NS_METHOD nsWidget::Create(nsNativeWidget aParent,                      const nsRect &aRect,                      EVENT_CALLBACK aHandleEventFunction,                      nsIDeviceContext *aContext,                      nsIAppShell *aAppShell,                      nsIToolkit *aToolkit,                      nsWidgetInitData *aInitData){    return(CreateWidget(nsnull, aRect, aHandleEventFunction,                        aContext, aAppShell, aToolkit, aInitData,                        aParent));}