NS_METHOD nsWidget::GetPreferredSize(PRInt32& aWidth, PRInt32& aHeight) { aWidth  = mPreferredWidth; aHeight = mPreferredHeight; return (mPreferredWidth != 0 && mPreferredHeight != 0)?NS_OK:NS_ERROR_FAILURE; }
inline NS_IMETHOD GetPreferredSize(PRInt32& aWidth, PRInt32& aHeight) { aWidth  = mPreferredWidth; aHeight = mPreferredHeight; return (mPreferredWidth != 0 && mPreferredHeight != 0)?NS_OK:NS_ERROR_FAILURE; }
NS_METHOD nsWidget::GetPreferredSize(PRInt32& aWidth, PRInt32& aHeight){  aWidth  = mPreferredWidth;  aHeight = mPreferredHeight;  return (mPreferredWidth != 0 && mPreferredHeight != 0)?NS_OK:NS_ERROR_FAILURE;}