aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-11 11:14:07 +0000
committernyamatongwe <unknown>2000-04-11 11:14:07 +0000
commit05e637b399e10ee6b0689678094f96e20ab2cd10 (patch)
treeed75ab216d69c607f42e16e77c698b000407bb96
parent9e59273e1a91a77efd675b0f912e5e680ce300a6 (diff)
downloadscintilla-mirror-05e637b399e10ee6b0689678094f96e20ab2cd10.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);