Decided to keep tab textures on Windows.

This commit is contained in:
Pietro Gagliardi 2014-08-04 21:22:43 -04:00
parent 23baffe55e
commit 4606f5c2ee
1 changed files with 0 additions and 1 deletions

View File

@ -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))