aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-01-27 06:00:27 +0000
committernyamatongwe <unknown>2001-01-27 06:00:27 +0000
commitba22db923ee18c31a0a8797dbe1e6c6c3ec2e4e0 (patch)
tree0fc319c03b84a185c84e575c06740577857952f7 /win32/ScintillaWin.cxx
parentf81b8719262437eeabe735ec377ce0250d356503 (diff)
downloadscintilla-mirror-ba22db923ee18c31a0a8797dbe1e6c6c3ec2e4e0.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
}