Moving wx related records into the constant module