You may be confusing the actual warning with "Sink rate, pull up" computerized warning, which is part of the Ground Proximity Warning System (GPWS) and is unrelated to wind shear warnings. I believe wind shear warnings are communicated by the Tower controllers when wind shear alert systems detect wind shear conditions around the airfield and on final approach.