NS_IMETHODIMP nsWidget::IsEnabled(PRBool *aState) { NS_ENSURE_ARG_POINTER(aState); *aState = !mWidget || GTK_WIDGET_SENSITIVE(mWidget); return NS_OK; }
inline NS_IMETHOD IsEnabled(PRBool *aState) { if(PtWidgetFlags(mWidget) & Pt_BLOCKED) *aState = PR_FALSE; else *aState = PR_TRUE; return NS_OK; }
NS_IMETHODIMP nsWidget::IsEnabled(PRBool *aState){  NS_ENSURE_ARG_POINTER(aState);  *aState = !mWidget || GTK_WIDGET_SENSITIVE(mWidget);  return NS_OK;}