Fix -Woverloaded-virtual warnings about Window::Create()
commitb9c686cadf55807470d64a202b4f569a88dadd67
authorJon Turney <jon.turney@dronecode.org.uk>
Fri, 19 May 2017 19:18:23 +0000 (19 20:18 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 9 Feb 2024 14:00:59 +0000 (9 14:00 +0000)
treed1936f3ef69d68eea803911f667956b8ee77eb11
parent0122154811bacdd7dc042cff0c80bb0a36af360c
Fix -Woverloaded-virtual warnings about Window::Create()

In gcc 13, -Wall turns on -Woverloaded-virtual

These virtual methods seem to be never actually used currently:

* PropPage-derived classes have a Create() which explicitly calls
PropPage::Create().

* PropPage::Create() and PropSheet::Create() do not call
Window::Create() (which is thus unused).

* We instantiate objects of Propage-derived and PropSheet types and
directly call their Create() method.

So simply fix the warning by removing the 'virtual' specifier.
proppage.h
propsheet.h
window.h