How To Buy Bitcoins Within Wallet?
No, in general wallets are just tools to manage bitcoins already in your possession. The only exception I can think of is Mycelium, which includes a functionality to find buyers and sellers nearby.

To find out how to get bitcoins, check out How do you obtain bitcoins?.