diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-20 12:23:28 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-20 12:23:28 +1000 |
commit | 02b15b44eb8dab735f004fd57db75842f42ea194 (patch) | |
tree | 4b147220a6bdd0ccb874b9f86bba8fb9cdc71b58 | |
parent | 77972d26d300b45a944cd3e9a2f498a5ee95e507 (diff) | |
download | scintilla-mirror-02b15b44eb8dab735f004fd57db75842f42ea194.tar.gz |
Backport: Make reference argument const as not altered.
Backport of changeset 6719:c366b4a0ae98.
-rw-r--r-- | src/CallTip.cxx | 2 | ||||
-rw-r--r-- | src/CallTip.h | 2 |
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(); |