The problems that you can have with painted frames is
The paint might flake, which is a pain because bits of paint stick to the glass and the brush head.
The paint could run down the glass leaving a milky substance on the glass.
What you will need to do is really scrub the frames from the top to the bottom floor, when you reach the bottom go back to the top and clean only the glass.
Also use plenty of water on the first clean. Rinsing is the key for a first class clean.