Yep it can hit 40 in December, (known localy as a heat wave), and when this happens there isn't much of a breeze, (troughed out).
Average for December is more like mid to low 30s.
here's my chart from last year.
This is my record of how our passive solar house works, red is outside temps, blue is in.
It's on the Mandurah foreshore, so is a bit cooler than Perth or Geraldton.
The 2009 chart, was warmer on average but only hit 35deg max.
80% of the 2008 chart was under 30deg, with one day hitting 36 and 2 reaching 38
So it's hard to predict just what will happen.