Correctly determine the size of patched Win32 dialog items, once and for all.
Correctly determine the size of patched Win32 dialog items, once and for all.

In the end, the correct way ended up involving a healthy dose of RTFM and the use of an undocumented Windows function (which we copy-paste from Wine, just to be safe). Hooray.

thpatch/thcrap,thpatch/thcrap,thpatch/thcrap,VBChunguk/thcrap,VBChunguk/thcrap,thpatch/thcrap,VBChunguk/thcrap,thpatch/thcrap