Fix special (unreal) window handling in wxQT

See wxTabFrame (AUI book), that is a special case as it doesn't have a related QWidget counterpart