The ONLY way that your wifes device would delete all the data and do what is called a security wipe is if she entered her passcode wrong 10 times, after 3 times she'd have to enter the word "blackberry' to continue to try and do it wrong.
It is a shame she lost her data and I assume she wasn't diligent in backing up her data.
Make sure she is careful no matter what Platform she chooses. my Samsung Galaxy Note 2 with an ActiveSync error cleared my contact list on both my phone and computer, lucky I had backups.
my iPhone4S had a sync issue which resulted in all emails older than 30days to be deleted, again I was lucky I could load an outlook backup to restore my gmail emails.