I would take the CM9 over the Glock. Not that it is any better, just more versatile. You can pocket carry or carry it IWB. Also, the price makes it a no-brainer for < $400. I have a PM9 and have had no problems. The CM9 is just a PM9 minus a few features.
If you just have to have a Glock, I would get the G19 over the G26 since the G26 must be an IWB gun.
But for me, it's the CM9 over the G26
Do not follow where the path may lead, go, instead where there is no path and leave a trail - Ralph Waldo Emerson