aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-11 11:14:07 +0000
committernyamatongwe <devnull@localhost>2000-04-11 11:14:07 +0000
commit51ba8716e766dda014487f0cea548868f0615bbb (patch)
treeed75ab216d69c607f42e16e77c698b000407bb96
parent1435a1726aa20fdf07da2132e1e0f8f023120dcc (diff)
downloadscintilla-mirror-51ba8716e766dda014487f0cea548868f0615bbb.tar.gz
Added fix for Calltip window registration.
-rw-r--r--win32/ScintillaWin.cxx7
1 files changed, 7 insertions, 0 deletions
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);