Use string comparison instead of wxStrcmp() to view the actual value of the string if it doesn't have the expected value.