Gajek was formerly part of the German Empire. In the German Empire, the place was called Rosenhain O.S..
The place is now called Wygoda and belongs to Poland.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Walspek-Rosenhain | German Empire | Rosenberg O.S. | 1936 |
| Rosenhain O.S. | German Empire | Rosenberg O.S. | 1939 |
| Gajek | Under Polish administration | Olesno | 1945 |
| Wygoda | Poland | Częstochowa | 1992 |