fix omission of handling wxTMC_SPAN_WIDTH flag

* this code existed in previous versions of wxTMC, so I'm simply adding it back in with slight mods to compensate for new variable names in this version