Backing out changes to 2 files I accidentally checked in

This commit is contained in:
aaronleventhal%moonset.net 2004-08-02 12:32:58 +00:00
parent 972fd827a3
commit a0485ce5f0
2 changed files with 3 additions and 5 deletions

View File

@ -242,11 +242,9 @@ NS_IMETHODIMP nsDocAccessibleWrap::FireToolkitEvent(PRUint32 aEvent, nsIAccessib
GUITHREADINFO guiInfo;
guiInfo.cbSize = sizeof(GUITHREADINFO);
if (gmGetGUIThreadInfo(NULL, &guiInfo)) {
if (hWnd != guiInfo.hwndFocus) {
hWnd = guiInfo.hwndFocus;
}
}
}
// notify the window system
NotifyWinEvent(aEvent, hWnd, worldID, childID);

View File

@ -465,10 +465,10 @@ NS_IMETHODIMP nsXULTreeitemAccessible::GetRole(PRUint32 *_retval)
// Possible states: focused, focusable, selected, expanded/collapsed
NS_IMETHODIMP nsXULTreeitemAccessible::GetState(PRUint32 *_retval)
{
*_retval = STATE_FOCUSABLE | STATE_SELECTABLE;
NS_ENSURE_TRUE(mTree && mTreeView, NS_ERROR_FAILURE);
*_retval = STATE_FOCUSABLE | STATE_SELECTABLE;
// get expanded/collapsed state
PRBool isContainer, isContainerOpen, isContainerEmpty;
mTreeView->IsContainer(mRow, &isContainer);