diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-11 17:38:38 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-11 17:38:38 -0500 |
| commit | eeff0d860593710a9c4a9749f599266892f276f8 (patch) | |
| tree | bf64ac26993008cd4c1febae5eac55b601dd5e73 /init_windows.go | |
| parent | b727a972adbc90c3cdfbff2c462a583aefd48474 (diff) | |
Migrated over the window class and window procedure stuff, set up the standard window class, and wrote the skeleton window procedure.
Diffstat (limited to 'init_windows.go')
| -rw-r--r-- | init_windows.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init_windows.go b/init_windows.go index bea6516..cc1cb5d 100644 --- a/init_windows.go +++ b/init_windows.go @@ -7,10 +7,6 @@ import ( "unsafe" ) -const ( - windowclass = "gouiwndclass" -) - var ( hInstance HANDLE nCmdShow int @@ -72,6 +68,10 @@ func doWindowsInit() (err error) { if err != nil { return fmt.Errorf("error getting WinMain nCmdShow: %v", err) } + err = registerStdWndClass() + if err != nil { + reteurn fmt.Errorf("error registering standard window class: %v", err) + } // TODO others return nil // all ready to go } |
