Fix some errors flagged by the compiler.
Fix some errors flagged by the compiler.

Conflicts:
	SMPageControl.h

CorzFree/SMPageControl,doanhkisi/SMPageControl,Spaceman-Labs/SMPageControl,HelloWilliam/SMPageControl