summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-06-18 16:26:57 +0200
committerPierre Ossman <ossman@cendio.se>2019-06-18 16:26:57 +0200
commit01dd7af4d25da5e3d2778ebcca32d0b98e1f05b3 (patch)
tree5b08a20a0cde9fee70bda1a25ba71522f9e81142 /vncviewer
parentda10343f32b9d3f9dcd79254627d010152ecf91e (diff)
downloadtigervnc-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.h6
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();