"Today I underwent successful right hip surgery at the St Vincent Hospital in Melbourne," the former world number one said on his Facebook page.
"I'd like to thank Dr John O'Donnell and all of the staff for looking after me. I look forward to returning to competitive tennis during the grasscourt season. Thanks to everyone for all the well wishes and support over the last few days. I'll come back from this."