TORONTO -- Premier Kathleen Wynne says she heard the message from voters in five provincial byelections that people are angry over the costly and secretive way the Liberals cancelled two gas plants before the 2011 election.

Wynne says losing three of seats -- all five had been Liberal-held ridings -- was a clear judgment of the government's recent past.

But she's confident the $585 million the Liberals spent to cancel the two gas plants won't be a major issue in the next general election, which could come as early as next spring.

NDP Leader Andrea Horwath says voters in Windsor and London that elected New Democrats made it clear they're fed up with an "arrogant" Liberal government.

The Tories won their first seat in Toronto since 1999, and Progressive Conservative Leader Tim Hudak says he hopes the NDP got the message that voters want a change in government.

However, when asked if the NDP will continue to prop up the Liberals, Horwath said she'll take it one day at a time because voters want the minority government to work.

There appears to be little chance for the opposition parties to defeat the Liberals in a confidence vote before the provincial budget next spring.

The Liberals held Scarborough-Guildwood and former premier Dalton McGuinty's old riding of Ottawa South.