The state had raised the issue to highlight the fact that Shrien Dewani, who admitted at the start of the trial that he was bisexual, could have had a motive for hiring three people to kill his wife Anni while they were on honeymoon in Cape Town in November 2010.
But Western Cape High Court Deputy Judge President Jeannette Traverso ruled that it was irrelevant and inadmissible, saying that "Dewani's conflicting sexuality was not in dispute".
Dewani fought four-year long lengthy battle to avoid extradition from his native Britain to stand trial, but was eventually brought to Cape Town earlier this year.
He also underwent psychiatric observation before being declared fit to stand trial.
More From This Section
Other witnesses included Mark Roberts, a cybercrime officer from the UK, who gave expert evidence about a laptop used by both Anni and Shrien.
He highlighted that there were accounts for both the Dewanis on the laptop, which was frequently used to access gay sites.
Stefanus said there were several emotional outbursts by Dewani during this process.
The court also heard from Maria Moretti, the owner of Golden Clutch, a business in the city buying foreign currency, that arrangements had been made to secure 10,000 Rands for Dewani.
In earlier evidence, convicted killer Mziwamadoda Qwabe testified that a pouch with 10,000 Rands had been found in the vehicle in which Anni Dewani was killed in what was to have looked like a botched hijacking.
The trial which started last week has been adjourned until October 20 because a member of the prosecution team had contracted chickenpox.