Removed duplicate variables and cleaned up their usage with the tabart provider.
Merge branch 'aui-dynamic-notebook' of https://github.com/nhold/wxWidgets into aui-dynamic-notebook