Here come the colon again!
Well, Dave, actually you are running the Oscillator of the PIC at 4MHz, but the core is running at 1MHz (/4).
If you want the pic running at 10MHz, then you should capitalize the define on top of the program as Skimask stated like this:
DEFINE OSC 10
After that, compiler will take care of the rest timing.
Ioannis
Bookmarks