NS_IMETHODIMP nsWidget::Enable(PRBool aState) { if (mWidget) { if (GTK_WIDGET_SENSITIVE(mWidget) == aState) return NS_OK; gtk_widget_set_sensitive(mWidget, aState); }  return NS_OK; }
inline NS_IMETHOD Enable(PRBool aState) { if( mWidget ) PtSetResource( mWidget, Pt_ARG_FLAGS, aState ? 0 : Pt_BLOCKED, Pt_BLOCKED ); return NS_OK; }
NS_IMETHODIMP nsWidget::Enable(PRBool aState){  if (mWidget)  {    if (GTK_WIDGET_SENSITIVE(mWidget) == aState)      return NS_OK;    gtk_widget_set_sensitive(mWidget, aState);  }  return NS_OK;}