I really would not suggest you use any kind of 4 x 2 from a builders yard, it will be knotty, not dry and probably bend like a banana.
For internal doors tulipwood (poplar) is a good bet, it is smooth, machines really well and takes paint very nicely, unsorted or "joinery grade" redwood is ok...