Original carbon, win32 and GTK versions were made this way, the problem, actually, is how to draw text field frame and its focus (when needed) on cocoa.