It might be a good idea to translate your problem from English to Spanish and have it with you at restaurants. It could save you a lot of time and problems when eating out.
Here are some simple phrases. Google translate is helpful
Trigo = wheat
harina = flour
Lastima, pero no puedo comer cosas con trigo = Sadly, I cannot eat things with wheat
no puedo comer harina de trigo = Not able to eat wheat flour
tortillas de maíz, por favor, no pan = corn tortillas please, not bread.