From 05e637b399e10ee6b0689678094f96e20ab2cd10 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 11 Apr 2000 11:14:07 +0000 Subject: Added fix for Calltip window registration. --- win32/ScintillaWin.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 8a84e2bbc..71c222eed 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1378,6 +1378,13 @@ void ScintillaWin::Register(HINSTANCE hInstance_) { // Register the CallTip class WNDCLASS wndclassc; + wndclassc.style = CS_GLOBALCLASS | CS_HREDRAW | CS_VREDRAW; + wndclassc.cbClsExtra = 0; + wndclassc.cbWndExtra = sizeof(ScintillaWin *); + wndclassc.hInstance = hInstance; + wndclassc.hIcon = NULL; + wndclassc.hbrBackground = NULL; + wndclassc.lpszMenuName = NULL; wndclassc.lpfnWndProc = ScintillaWin::CTWndProc; wndclassc.hCursor = LoadCursor(NULL, IDC_ARROW); -- cgit v1.2.3