fixed gPixmapPtr()