EDMONTON - Former Alberta premier Ed Stelmach says Wildrose Leader Danielle Smith's refusal to admit climate change exists cost her party a shot at victory in last month's election.

"I was confident we were going to win," Stelmach said Wednesday when asked about the election by reporters following a legislature social function.

"(But) as with any election you wait for the other team to do something that I'm quite sure today they're questioning, (which were) some of the comments about climate change."

"When you're going to put somebody on an international stage to sell this province, you better listen to your customers around the world before you draw a line in the sand."

Stelmach, premier from 2006 until he retired and was replaced late last year by Alison Redford, didn't run in the past election but helped out candidates by knocking on doors.

He said what he was hearing from voters on the doorsteps was drastically different from the provincewide polls that suggested Smith's party was set to end the Tories' 41-year hold on government.

Smith's team started strong in the month-long campaign but faltered near the end when Smith reiterated the party policy that stated while the Wildrose would still work to reduce the carbon footprint, the science of global warming was not settled.

Smith found herself booed roundly at a late-stage leaders debate over the issue and Redford suggested Smith would make Alberta an international laughingstock.

Stelmach said the voters agreed Alberta would have a big problem selling oil and promoting environmental stewardship on the world stage with a premier who didn't believe in climate change.

"We definitely heard it at the doors," he said.

"These are serious matters.

"You're going to go to Europe today and tell them you don't believe in climate change and you're going to sell them oil?"

"You don't have to believe it or disbelieve (climate change). That's not the issue. Your customer is demanding it. So if you're selling black suits and your customer wants white, what are you going to do? Convince them black is white? Doesn't happen."

The Wildrose also had to deal with controversial comments made by two candidates during the campaign: one criticized public schools for preaching tolerance of homosexuals while another said that as a white man he would be listened and respected by people of all races.

Smith distanced herself from the comments but refused to toss the candidates out of the race. She said she believed in free speech, but stressed those views would never become Wildrose policy.

Stelmach said regardless of public concern over the comments, it was still the greenhouse gas issue that delivered the mortal self-inflicted wound.

Redford's Tories won 61 of 87 seats to secure a 12th consecutive majority government.

The Wildrose won 17 seats, over half of them in the rural southern ridings, to become the official Opposition. Smith won her seat in Highwood, south of Calgary.

The Liberals took five seats and the NDP four.

Also on HuffPost:

Loading Slideshow...
  • All Smiles

    Alberta PC party leader Alison Redford celebrates her win in the provincial election in Calgary, Alta., Monday, April 23, 2012. Redford led the PC Alberta party to another majority win beating out the new comer Wildrose party.THE CANADIAN PRESS/Jeff McIntosh

  • Alberta PC party leader Alison Redford celebrates her win in the provincial election in Calgary, Alta., Monday, April 23, 2012. Redford led the PC Alberta party to another majority win beating out the new comer Wildrose party.THE CANADIAN PRESS/Jeff McIntosh

  • Wildrose Leader Danielle Smith waves to the crowd in High River, Alberta, Monday, April, 23, 2012. THE CANADIAN PRESS/Jonathan Hayward

  • Wildrose Leader Danielle Smith receives a hug following her speech as her party placed second in the Alberta election in High River, Alberta, Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)

  • Wildrose Leader Danielle Smith greets supporters in High River, Alberta, Monday, April, 23, 2012. THE CANADIAN PRESS/Jonathan Hayward

  • Alberta NDP leader Brian Mason celebrates his showing in the provincial election in Edmonton Alta. Monday April 23, 2012. THE CANADIAN PRESS/Jason Franson.

  • Party supporters cheer election returns at the Alberta PC party venue in Calgary, Alta., Monday, April 23, 2012. THE CANADIAN PRESS/Jeff McIntosh

  • Party supporters cheer election returns at the Alberta PC party venue in Calgary, Alta., Monday, April 23, 2012. THE CANADIAN PRESS/Jeff McIntosh

  • Protester Brigette DePape holds up a sign as Wildrose Leader Danielle Smith leaves a polling station in High River, Alberta to cast her ballot for the Alberta election Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)

  • Protester Brigette DePape holds up a sign as Wildrose Leader Danielle Smith leaves a polling station in High River, Alberta to cast her ballot for the Alberta election Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)

  • Protester Brigette DePape holds up a sign as Wildrose Leader Danielle Smith leaves a polling station in High River, Alberta to cast her ballot for the Alberta election Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)

  • Protester Brigette DePape holds up a sign as Wildrose Leader Danielle Smith leaves a polling station in High River, Alberta to cast her ballot for the Alberta election Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)

  • Returning officers look on as Wildrose Leader Danielle Smith puts her ballot into the voters box at a polling station in High River, Alberta to cast her ballot for the Alberta election Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)

  • Returning officers look on as Wildrose Leader Danielle Smith puts her ballot into the voters box at a polling station in High River, Alberta to cast her ballot for the Alberta election Monday, April, 23, 2012. (THE CANADIAN PRESS/Jonathan Hayward)