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
"The worst place to have your happiness is in sombody else's head" -Lester Sumrall