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