diff options
| -rw-r--r-- | comctl_windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comctl_windows.go b/comctl_windows.go index bb60779..a52e19c 100644 --- a/comctl_windows.go +++ b/comctl_windows.go @@ -115,8 +115,7 @@ func initCommonControls() (err error) { comctl32 = syscall.NewLazyDLL("comctl32.dll") r1, _, err := comctl32.NewProc("InitCommonControlsEx").Call(uintptr(unsafe.Pointer(&icc))) if r1 == _FALSE { // failure - // TODO does it set GetLastError()? - return fmt.Errorf("error initializing Common Controls (comctl32.dll): %v", err) + return fmt.Errorf("error initializing Common Controls (comctl32.dll); windows last error: %v", err) } return nil } |
