From 01dd7af4d25da5e3d2778ebcca32d0b98e1f05b3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 18 Jun 2019 16:26:57 +0200 Subject: Properly mark overloaded methods with virtual Makes it easier to see what is overloaded and what isn't. --- vncviewer/DesktopWindow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h index c408cb78..97a8178d 100644 --- a/vncviewer/DesktopWindow.h +++ b/vncviewer/DesktopWindow.h @@ -74,10 +74,10 @@ public: // Fl_Window callback methods virtual void show(); - void draw(); - void resize(int x, int y, int w, int h); + virtual void draw(); + virtual void resize(int x, int y, int w, int h); - int handle(int event); + virtual int handle(int event); void fullscreen_on(); -- cgit v1.2.3