diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-25 08:28:10 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-25 08:28:10 -0500 |
| commit | a8bd21fe9598354771da6a4d7c3dd253d44fb721 (patch) | |
| tree | 2c9356555f27e4d6b3733ca3ca3b06a80b479075 /init_windows.go | |
| parent | 668de3bccb0d0b43c0bfcc461dce028e4f0cea9d (diff) | |
Added Windows implementation of ProgressBar and the requisite comctl32.dll code.
Diffstat (limited to 'init_windows.go')
| -rw-r--r-- | init_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init_windows.go b/init_windows.go index eaf4816..fdd28bb 100644 --- a/init_windows.go +++ b/init_windows.go @@ -70,6 +70,10 @@ func doWindowsInit() (err error) { if err != nil { return fmt.Errorf("error getting standard window fonts: %v", err) } + err = initCommonControls() + if err != nil { + return fmt.Errorf("error initializing Common Controls (comctl32.dll): %v", err) + } // TODO others return nil // all ready to go } |
