Fix a build break on GNU/Linux that resulted from unifying the logic in
CScreen:::OnPaint with the logic in PaintToScreenWindow() that was used
exclusively by the Windows screensaver. I had put the new function in
a file that was not compiled into the GTK version. This revision adds
that file (mainwind.cpp) into the GTK build.