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 | 1523de1d2127f9bc8090e10a1ab1d0bce2af3c03 (patch) | |
| tree | ceef4a8fd7ef882523bc4da8f52bb26fc05ca6fa /src | |
| parent | 4d99e1a61f5997aa8b68582dde2aca5f86de9c35 (diff) | |
| download | scintilla-mirror-1523de1d2127f9bc8090e10a1ab1d0bce2af3c03.tar.gz | |
Make reference argument const as not altered.
Diffstat (limited to 'src')
| -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(); | 
