dehseth wrote:
virtual void OnMouseDown(int Button, int X, int Y) = NULL; virtual void OnMouseMove(int X, int Y) = NULL; virtual void OnMouseUp(int Button, int X, int Y) = NULL; virtual bool OnRender(void) = NULL;
Pure virtual functions should be assigned 0 not NULL. It's merely a coincidence that NULL has a value of 0.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons