You are exactly right, what you are really talking about is inflation, and the taking into account of inflation when you talk about box office grosses.
For example the biggest grossing film of all time is Titanic, but taking into account inflation and adjusting figures accordingly Titanic is only number 6 in all time grosses and number 1 is Gone with the wind followed by Star Wars.