No, it's wrong. In real life, it usually would be "close enough," because the meaning of "when," "won," and "one" are so different that your listener would understand without even thinking about it. But it is wrong.
In everyday, rapid, fluid speech the sound of the "e" isn't very clear, but it is more like an indefinite schwa, "ə," not a clean "uh." That's just sloppiness, though, and not something you should try to imitate.
"When," "den," "fen" (wetland), "again," "hen," "ken" (understanding), "men," "pen," "ten," "Zen," and even "wen" (a sort of pimple) all rhyme. This sound is very common in English, so if you aren't pronouncing it well, it is worth trying to improve it.