remove template and pointer junk from wxGuiTools and all of the usages that is not compatible with clang. Replace pointer usages with references so clang works