兴中会
He entered the Government Central School, Hong Kong (), and Sun Yat-sen was his schoolmate. He was a member of the Furen Literary Society which advocated revolution against the Qing Dynasty. In 1895 Wen joined the Revive China Society founded by Sun. In 1897 he studied at the Imperial Tientsin University (), after graduating, he became an English teacher of the Queen's College(, reformed from the Government Central School). Later he became a secretary for Feng Keyi () who engaged in the work for negotiating to United Kingdom.