Stanislas Wawrinka of Switzerland won his first ATP title when favored Novak Djokovic retired with breathing problems during the opening set of the Croatian Open final in Umag, Croatia.