Technically, both states will tax the full amount of capital gain. But to avoid double taxation, California will give you a credit for all or some of the taxes paid to Wisconsin on the sale.
Please make sure you complete your Wisconsin nonresident return before starting your California return so that TurboTax gives you the correct credit on your California return.