Deductions & credits

In the Foreign Taxes section it allows you to take credit for foreign taxes paid for interests and dividends but not for capital gains. Any help for capital gains is highly appreciated.