Fixed bug with EnsurePathExists on Win32.

git-svn-id: http://svn.purei.org/framework/trunk@366 6a6d099a-6a11-0410-877e-d5a07a98cbd2
Fixed handling of alignment in dialog templates on Win32.

git-svn-id: http://svn.purei.org/framework/trunk@367 6a6d099a-6a11-0410-877e-d5a07a98cbd2