aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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();