Forward-port move of content description generation to lib/ rather than wx/.