Adding an #ifdef XP_MAC on the window destroy for the tree widget (just to keep
Windows from crashing). git-svn-id: svn://10.0.0.236/trunk@15747 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
569ce3d786
commit
e6b24661dd
@ -760,10 +760,12 @@ HandleTreeWindowEvent(nsGUIEvent *aEvent)
|
||||
NS_IF_RELEASE(pEnumerator);
|
||||
NS_IF_RELEASE(pTree);
|
||||
}
|
||||
#ifdef XP_MAC
|
||||
else if ( aEvent->message == NS_DESTROY ) {
|
||||
NS_IF_RELEASE(aEvent->widget);
|
||||
result = nsEventStatus_eConsumeDoDefault;
|
||||
}
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user