From ba22db923ee18c31a0a8797dbe1e6c6c3ec2e4e0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 27 Jan 2001 06:00:27 +0000 Subject: Much changed ScintillaGTK widget code that draws directly onto the Scintilla widget with no wDraw drawing area. Signals handled directly through callbacks. --- win32/ScintillaWin.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'win32') 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 +// Copyright 1998-2001 by Neil Hodgson // The License.txt file describes the conditions under which this software may be distributed. #include @@ -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(idCallTip), wDraw.GetInstance(), &ct); + wMain.GetID(), reinterpret_cast(idCallTip), wMain.GetInstance(), &ct); ct.wDraw = ct.wCallTip; #endif } -- cgit v1.2.3