diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-12 20:51:07 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-12 20:51:07 -0500 |
| commit | 4b16716e61e6f551afd1980aa21268c976fa3886 (patch) | |
| tree | e58bf9a498cfcd583753742ff4d8a802db3e3630 /init_windows.go | |
| parent | a9ff38894408e0a34da4742fc2b1aea0bb5ef60b (diff) | |
Restructuring the codebase to make things neater. First off: each window now has its own class; the sysData knows about children. This updates the window class to become a generator and rewrites the WndProc as well.
Diffstat (limited to 'init_windows.go')
| -rw-r--r-- | init_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init_windows.go b/init_windows.go index 554fe23..753ba8e 100644 --- a/init_windows.go +++ b/init_windows.go @@ -67,9 +67,9 @@ func doWindowsInit() (err error) { if err != nil { return fmt.Errorf("error getting WinMain nCmdShow: %v", err) } - err = registerStdWndClass() + err = initWndClassInfo() if err != nil { - return fmt.Errorf("error registering standard window class: %v", err) + return fmt.Errorf("error initializing standard window class auxiliary info: %v", err) } // TODO others return nil // all ready to go |
