aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CallTip.h')
-rw-r--r--src/CallTip.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CallTip.h b/src/CallTip.h
index cd5b093c8..cb5bc2903 100644
--- a/src/CallTip.h
+++ b/src/CallTip.h
@@ -6,13 +6,14 @@
#ifndef CALLTIP_H
#define CALLTIP_H
-const char callClassName[] = "CallTip";
-
class CallTip {
int startHighlight;
int endHighlight;
char *val;
Font font;
+ // Private so CallTip objects can not be copied
+ CallTip(const CallTip &) {}
+ CallTip &operator=(const CallTip &) { return *this; }
public:
Window wCallTip;
Window wDraw;