garrynewman / GWEN

Abandoned: GWEN - GUI Without Extravagant Nonsense.
MIT License
429 stars 102 forks source link

Fixes an overloaded virtual function warning #46

Closed jamiehales closed 11 years ago

jamiehales commented 11 years ago

I'm just trying to clean up all the warnings that create warnings in my project (I'll look at fixing up the rest too, if you don't have any issues with it?)

The attached commit fixes the following warning -

/Users/aeonflame/Development/pixelballoon/roborush/pixelboost/libs/gwen/gwen/include/Gwen/Controls/Canvas.h:97:10: 'Gwen::Controls::Canvas::PreDelete' hides overloaded virtual function

Since this PreDelete function isn't virtual and appears to be a specialisation for Canvas I have renamed it to PreDeleteCanvas. If you have any other preferred name then let me know.