I noticed on some of my prefabs that after I upgraded to Unity 4 this stopped working and no longer returns results:
transform.GetComponentInChildren<Transform>()
I see that UIButtonMessage relies on this, so you might want to just double check to see if you're seeing the same.