Bug fix for a traceback that appears for nested panels when the parent window is None.
Bug fix for a traceback that appears for nested panels when the parent window is None.

geggo/pyface,geggo/pyface,pankajp/pyface,brett-patterson/pyface