Please note: In the USA it is illegal to transfer many prescription medications to a second person. Granted, it is/was your wife's prescription, but if you were stopped for a traffic violation the officer could hold you in custody until you could prove that you are authorized to transport your wife's prescription. If the medication in not in properly labeled containers you could be held until your pharmacy and/or doctor can be contacted to verify your right to possess the medication. In my experience as a California and Nevada licensed pharmacist I have been contacted at least half a dozen times by law enforcement officers to verify the authenticity of a prescription. Once a frantic wife had to go to numerous pharmacies to get copies of her husbands prescription because after a traffic stop, and some foul statements to the officers, her husband was detained over the weekend in jail until all the medications he kept on his person in an unlabeled bottle could be identified and shown to be legal prescription.
I'm not implying your actions caused excess scrutiny; however, this same situation could have easily occurred in the USA if the officer had probable cause.