Better wx condition parser