nsIWidget* nsWidget::GetParent(void) { nsIWidget *ret; ret = mParent; NS_IF_ADDREF(ret); return ret; }
inline nsIWidget* GetParent(void) { if( mIsDestroying ) return nsnull; nsIWidget* result = mParent; if( mParent ) NS_ADDREF( result ); return result; }
nsIWidget* nsWidget::GetParent(void){  nsIWidget *ret;  ret = mParent;  NS_IF_ADDREF(ret);  return ret;}