aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-20 12:23:28 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-20 12:23:28 +1000
commit1523de1d2127f9bc8090e10a1ab1d0bce2af3c03 (patch)
treeceef4a8fd7ef882523bc4da8f52bb26fc05ca6fa /src
parent4d99e1a61f5997aa8b68582dde2aca5f86de9c35 (diff)
downloadscintilla-mirror-1523de1d2127f9bc8090e10a1ab1d0bce2af3c03.tar.gz
Make reference argument const as not altered.
Diffstat (limited to 'src')
-rw-r--r--src/CallTip.cxx2
-rw-r--r--src/CallTip.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index 7b322afeb..07188929c 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -254,7 +254,7 @@ void CallTip::MouseClick(Point pt) {
PRectangle CallTip::CallTipStart(Sci::Position pos, Point pt, int textHeight, const char *defn,
const char *faceName, int size,
int codePage_, int characterSet,
- int technology, Window &wParent) {
+ int technology, const Window &wParent) {
clickPlace = 0;
val = defn;
codePage = codePage_;
diff --git a/src/CallTip.h b/src/CallTip.h
index cb5d2c12c..9c00a777d 100644
--- a/src/CallTip.h
+++ b/src/CallTip.h
@@ -63,7 +63,7 @@ public:
/// Setup the calltip and return a rectangle of the area required.
PRectangle CallTipStart(Sci::Position pos, Point pt, int textHeight, const char *defn,
const char *faceName, int size, int codePage_,
- int characterSet, int technology, Window &wParent);
+ int characterSet, int technology, const Window &wParent);
void CallTipCancel();