NS_IMETHODIMP nsWidget::SetBackgroundColor(const nscolor &aColor) { PR_LOG(XlibWidgetsLM, PR_LOG_DEBUG, ("nsWidget::SetBackgroundColor()\n"));  nsBaseWidget::SetBackgroundColor(aColor); mBackgroundPixel = xxlib_rgb_xpixel_from_rgb(mXlibRgbHandle, mBackground);  XSetWindowBackground(mDisplay, mBaseWindow, mBackgroundPixel); return NS_OK; }
inline NS_IMETHOD SetBackgroundColor(const nscolor &aColor) { nsBaseWidget::SetBackgroundColor( aColor ); if( mWidget ) PtSetResource( mWidget, Pt_ARG_FILL_COLOR, NS_TO_PH_RGB( aColor ), 0 ); return NS_OK; }
NS_IMETHODIMP nsWidget::SetBackgroundColor(const nscolor &aColor){  PR_LOG(XlibWidgetsLM, PR_LOG_DEBUG, ("nsWidget::SetBackgroundColor()\n"));  nsBaseWidget::SetBackgroundColor(aColor);  mBackgroundPixel = xxlib_rgb_xpixel_from_rgb(mXlibRgbHandle, mBackground);  // set the window attrib  XSetWindowBackground(mDisplay, mBaseWindow, mBackgroundPixel);  return NS_OK;}