Looks like I forgot to update the state with the contents of wxData.