Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger

This commit is contained in:
Mark Capella
2012-07-23 01:19:08 -04:00
parent 536a51e537
commit 1bafbbea76
23 changed files with 51 additions and 65 deletions

View File

@@ -495,11 +495,10 @@ nsWindow::Enable(bool aState)
return NS_OK;
}
NS_IMETHODIMP
nsWindow::IsEnabled(bool *aState)
bool
nsWindow::IsEnabled() const
{
*aState = true;
return NS_OK;
return true;
}
NS_IMETHODIMP