2023-08-20 20:44:08 +08:00
|
|
|
//----------------------------------------
|
|
|
|
//
|
|
|
|
// Copyright © yanghy. All Rights Reserved.
|
|
|
|
//
|
|
|
|
// Licensed under Apache License Version 2.0, January 2004
|
|
|
|
//
|
|
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
//----------------------------------------
|
|
|
|
|
|
|
|
//go:build !windows
|
|
|
|
|
|
|
|
package cef
|
|
|
|
|
|
|
|
import (
|
2023-08-20 20:52:29 +08:00
|
|
|
"github.com/energye/golcl/lcl"
|
2023-08-20 20:44:08 +08:00
|
|
|
"github.com/energye/golcl/lcl/types"
|
|
|
|
)
|
|
|
|
|
2023-08-20 21:08:14 +08:00
|
|
|
func (m *lclBrowserWindow) mainFormNotInTaskBar() {
|
2023-08-20 20:52:29 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *lclBrowserWindow) SetOnWndProc(fn lcl.TWndProcEvent) {
|
|
|
|
m.TForm.SetOnWndProc(func(msg *types.TMessage) {
|
|
|
|
m.InheritedWndProc(msg)
|
|
|
|
fn(msg)
|
|
|
|
})
|
2023-08-20 20:44:08 +08:00
|
|
|
}
|