summaryrefslogtreecommitdiff
path: root/init_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-12 20:51:07 -0500
committerPietro Gagliardi <[email protected]>2014-02-12 20:51:07 -0500
commit4b16716e61e6f551afd1980aa21268c976fa3886 (patch)
treee58bf9a498cfcd583753742ff4d8a802db3e3630 /init_windows.go
parenta9ff38894408e0a34da4742fc2b1aea0bb5ef60b (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.go4
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