In Motif, you must make an explicit call to convert a string to XmString, an internal representation of the string. If you internationalize your application, use XmStringCreateLocalized() to perform this conversion.
In Solaris Motif--unlike in Motif 1.2.3--XmStringCreateLocalized() recognizes \n as a line separator, so a string can have multiple lines.