summaryrefslogtreecommitdiff
path: root/redo/window_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-04 21:22:43 -0400
committerPietro Gagliardi <[email protected]>2014-08-04 21:22:43 -0400
commit4606f5c2ee732b42140aab159f0a62605082517e (patch)
tree847a03b59f60301b7d20f41015d09c41b0ee82f9 /redo/window_windows.go
parent23baffe55ed5964a24f41e719b8f538f1bb04168 (diff)
Decided to keep tab textures on Windows.
Diffstat (limited to 'redo/window_windows.go')
-rw-r--r--redo/window_windows.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go
index ae57e01..2c391c8 100644
--- a/redo/window_windows.go
+++ b/redo/window_windows.go
@@ -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))