Just to emphasise what
@Brandon ***********
said. If you are on a Non-O based on retirement your wife (and probably child) will NOT be able to get a Non-O visa as your dependant inside of Thailand, nor in any nearby country. She might be able to get one in your home country but you don't say where that is, but it's more likely they would require you to be on a Non-OA visa for that although she might also be able to get one in your home country once you are on a 12 month extension of stay. Really you need to talk to the Thai embassy in your home country about the possibilities.