Fixed an issue with the timeline VisualDictionary sample, which did not ...

...compile in vs2010. Please check if this fix is compatible with MacOSX before merging it.