Wisconsin is winner take all by congressional district and statewide. Winning over 50% doesn't change that. If Trump wins a CD, he will get three delegates. Right now it looks like he might win 2 CDs. So if things remain the way they are, Cruz should get 36 delegates and Trump 6 delegates.
Yeah and Cruz got 17 percent in Florida and Ohio.
That really is irrelevant to the general election - he lost in a GOP primary to other GOP candidates. That says nothing about how he would do against Hillary in the general in those states, just as the fact that Trump won the Florida primary doesn't say anything about how he would do against Hillary in Florida in the general.
So, the total Cruz has picked up is a whopping 36 delegates!