I'm going to agree and disagree with the debate at the same time. OS X is based on a Mach microkernel running underneath a BSD kernel API.
The problem with OS X that makes it inherently less secure than a more traditional Unix such as Solaris or Linux is that they took shortcuts to allow user mode applications to have access to ring zero facilities in the kernel. This is why a bug in flash could subvert the entire system. They do this to avoid burdening the user with having to escalate their privileges to do common operations, but at the expense of security. Flash runs on Linux, but it runs in user mode. Hacking flash on my computer would allow you to delete all my personal files, but that's about it.
The argument that most viruses are written for Windows because most computers run Windows is probably accurate, but probably disingenuous. In this case the most vulnerable target also happens to be the most prolific. Most viruses are written by idiots and script kiddies that couldn't hack into a secure OS if their mother's life depended on it, so they attack the most vulnerable target. On the desktop, Windows is king, but in the web server world, it's pretty neck and neck with Linux. Not many Linux viruses getting into Linux web servers. Windows security is crap, even in Vista.
And, for the record, a) I have been a Unix professional for over 20 years, b) I have written exploits for Mac, Windows and Unix, but just for fun and c) I have never paid a single dollar for anything to Microsoft and, if I can help it, I never will.