diff --git a/XG_CandsWnd.hpp b/XG_CandsWnd.hpp index 989a970..48f90ba 100644 --- a/XG_CandsWnd.hpp +++ b/XG_CandsWnd.hpp @@ -231,12 +231,12 @@ class XG_CandsWnd : public XG_Window { } - virtual LPCTSTR GetWndClassName() const + LPCTSTR GetWndClassName() const override { return TEXT("XG_CandsWnd"); } - virtual void ModifyWndClassDx(WNDCLASSEX& wcx) + void ModifyWndClassDx(WNDCLASSEX& wcx) override { wcx.hIcon = nullptr; wcx.hbrBackground = ::CreateSolidBrush(RGB(255, 255, 192)); @@ -474,8 +474,8 @@ class XG_CandsWnd : public XG_Window } } - virtual LRESULT CALLBACK - WindowProcDx(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) + LRESULT CALLBACK + WindowProcDx(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override { switch (uMsg) { HANDLE_MSG(hwnd, WM_CREATE, OnCreate); diff --git a/XG_CanvasWindow.hpp b/XG_CanvasWindow.hpp index 38cbfd4..7a8668f 100644 --- a/XG_CanvasWindow.hpp +++ b/XG_CanvasWindow.hpp @@ -522,7 +522,7 @@ class XG_CanvasWindow : public XG_Window return XgOnLoad(xg_hMainWnd, szFile, &pt); } - virtual LRESULT CALLBACK + LRESULT CALLBACK WindowProcDx(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override { switch (uMsg) diff --git a/XG_HintsWnd.hpp b/XG_HintsWnd.hpp index fddbeb1..8354a19 100644 --- a/XG_HintsWnd.hpp +++ b/XG_HintsWnd.hpp @@ -163,12 +163,12 @@ class XG_HintsWnd : public XG_Window { } - virtual LPCTSTR GetWndClassName() const + LPCTSTR GetWndClassName() const override { return TEXT("XG_HintsWnd"); } - virtual void ModifyWndClassDx(WNDCLASSEX& wcx) + void ModifyWndClassDx(WNDCLASSEX& wcx) override { // No change }