Call BufferedPaintInit() when initializing the theme class.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@23874 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Validate the drawing area after the custom painting of the control.
This shouldn't be necessary, but it appears some plugins can mess up the painting somehow.
See this thread for more details:
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3011957

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@23876 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
ran tabspace.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@23880 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
define STRICT_TYPED_ITEMIDS before including any shell headers for better type safety of IDLists.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@23882 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac