diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-06-18 16:26:57 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-06-18 16:26:57 +0200 |
commit | 01dd7af4d25da5e3d2778ebcca32d0b98e1f05b3 (patch) | |
tree | 5b08a20a0cde9fee70bda1a25ba71522f9e81142 /vncviewer | |
parent | da10343f32b9d3f9dcd79254627d010152ecf91e (diff) | |
download | tigervnc-01dd7af4d25da5e3d2778ebcca32d0b98e1f05b3.tar.gz tigervnc-01dd7af4d25da5e3d2778ebcca32d0b98e1f05b3.zip |
Properly mark overloaded methods with virtual
Makes it easier to see what is overloaded and what isn't.
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/DesktopWindow.h | 6 |
1 files 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(); |