aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-01-27 06:00:27 +0000
committernyamatongwe <devnull@localhost>2001-01-27 06:00:27 +0000
commit6fe06743a0bd6ad13d9208e1673f3ccdb22ef005 (patch)
tree0fc319c03b84a185c84e575c06740577857952f7 /win32/ScintillaWin.cxx
parentef5b4f4ee4106324df53b6f492dfdca95a5e7a25 (diff)
downloadscintilla-mirror-6fe06743a0bd6ad13d9208e1673f3ccdb22ef005.tar.gz
Much changed ScintillaGTK widget code that draws directly onto the
Scintilla widget with no wDraw drawing area. Signals handled directly through callbacks.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 5073c9bf0..e3290c3af 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1,6 +1,6 @@
// Scintilla source code edit control
// ScintillaWin.cxx - Windows specific subclass of ScintillaBase
-// Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
+// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
@@ -201,7 +201,6 @@ ScintillaWin::ScintillaWin(HWND hwnd) {
::RegisterClipboardFormat("MSDEVColumnSelect"));
wMain = hwnd;
- wDraw = hwnd;
dob.sci = this;
ds.sci = this;
@@ -815,7 +814,7 @@ void ScintillaWin::CreateCallTipWindow(PRectangle) {
#ifdef TOTAL_CONTROL
ct.wCallTip = ::CreateWindow(callClassName, "ACallTip",
WS_VISIBLE | WS_CHILD, 100, 100, 150, 20,
- wDraw.GetID(), reinterpret_cast<HMENU>(idCallTip), wDraw.GetInstance(), &ct);
+ wMain.GetID(), reinterpret_cast<HMENU>(idCallTip), wMain.GetInstance(), &ct);
ct.wDraw = ct.wCallTip;
#endif
}