INTERNAL: Error upon using XLOADCT or executing code containing Widgets on Mac OS X
While executing XLOADCT or running code including Widgets on Mac OS X you might see the error message “Error: attempt to add non-widget child "dsm" to parent"idl" which supports only widgets”
This issue is actually not caused by IDL but results from a corrupted installation of the MacPorts package xorg-libXT.
In order to resolve this you have to issue the following commands from a terminal window (having administrator privileges):
sudo port install xorg-libXt +flat_namespace
sudo port upgrade outdated