renamed missed CallWindowProcW Unicode version also to CallWindowProc
This commit is contained in:
parent
c3697d2055
commit
c8254f89d1
@ -256,7 +256,7 @@ void ScintillaEditView::init(HINSTANCE hInst, HWND hPere)
|
|||||||
_codepage = ::GetACP();
|
_codepage = ::GetACP();
|
||||||
|
|
||||||
::SetWindowLongPtr(_hSelf, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(this));
|
::SetWindowLongPtr(_hSelf, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(this));
|
||||||
_callWindowProc = CallWindowProcW;
|
_callWindowProc = CallWindowProc;
|
||||||
_scintillaDefaultProc = reinterpret_cast<WNDPROC>(::SetWindowLongPtr(_hSelf, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(scintillaStatic_Proc)));
|
_scintillaDefaultProc = reinterpret_cast<WNDPROC>(::SetWindowLongPtr(_hSelf, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(scintillaStatic_Proc)));
|
||||||
|
|
||||||
//Get the startup document and make a buffer for it so it can be accessed like a file
|
//Get the startup document and make a buffer for it so it can be accessed like a file
|
||||||
|
Loading…
Reference in New Issue
Block a user