I have a similar problem. A working piece of code suddenly stopped working in qt and GTK2, but still works in Windows. Perhaps the following will help.
I read in the wiki or forum:
1) using the form resize event does not always work as expected in non Windows widget sets;
2) to use Clientwidth and Clientheight to allow for theme borders;
3) to resize the Picture.Bitmap, rather than the original bitmap;
I started from the beginning with a piece of test code, which is attached. It works in all widget sets, and allows tests with three different resize events, but I am still looking for my problem, which appears to be caused by drawing to an area that is not in memory.