提交 c1d9ec3c 编写于 作者: yanghye's avatar yanghye

v2.3.23 Fixed Chinese input and gtk3 issues for linux packagin

上级 2f159233
......@@ -105,6 +105,14 @@ func WinDefWindowProc(handle types.HWND, msg types.UINT, wParam types.WPARAM, lP
return 0
}
func WinDefSubclassProc(handle types.HWND, msg types.UINT, wParam types.WPARAM, lParam types.LPARAM) types.LRESULT {
if common.IsWindows() {
r1, _, _ := common.Proc(internale_CEF_Win_DefSubclassProc).Call(handle, uintptr(msg), wParam, lParam)
return types.LRESULT(r1)
}
return 0
}
func WinOnPaint(handle types.HWND) {
if common.IsWindows() {
common.Proc(internale_CEF_Win_OnPaint).Call(handle)
......
......@@ -25,6 +25,7 @@ func init() {
dllimports.NewEnergyImport("CEF_Win_ScreenToClient", 0),
dllimports.NewEnergyImport("CEF_Win_ClientToScreen", 0),
dllimports.NewEnergyImport("CEF_Win_DefWindowProc", 0),
dllimports.NewEnergyImport("CEF_Win_DefSubclassProc", 0),
dllimports.NewEnergyImport("CEF_Win_OnPaint", 0),
//ApplicationQueueAsyncCallFunc
dllimports.NewEnergyImport("SetApplicationQueueAsyncCallFunc", 0),
......@@ -507,6 +508,7 @@ const (
internale_CEF_Win_ScreenToClient
internale_CEF_Win_ClientToScreen
internale_CEF_Win_DefWindowProc
internale_CEF_Win_DefSubclassProc
internale_CEF_Win_OnPaint
//ApplicationQueueAsyncCallFunc
internale_SetApplicationQueueAsyncCallFunc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册