Decided to keep tab textures on Windows.
This commit is contained in:
parent
23baffe55e
commit
4606f5c2ee
|
@ -40,7 +40,6 @@ func newWindow(title string, width int, height int, control Control) *window {
|
|||
if hwnd != w.hwnd {
|
||||
panic(fmt.Errorf("inconsistency: hwnd returned by CreateWindowEx() (%p) and hwnd stored in Window (%p) differ", hwnd, w.hwnd))
|
||||
}
|
||||
// TODO keep?
|
||||
hresult := C.EnableThemeDialogTexture(w.hwnd, C.ETDT_ENABLE | C.ETDT_USETABTEXTURE)
|
||||
if hresult != C.S_OK {
|
||||
panic(fmt.Errorf("error setting tab background texture on Window; HRESULT: 0x%X", hresult))
|
||||
|
|
Loading…
Reference in New Issue