summaryrefslogtreecommitdiff
path: root/init_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-30 23:02:15 -0400
committerPietro Gagliardi <[email protected]>2014-05-30 23:02:15 -0400
commit2e0914e575742c93fd053a24201e239737be2eae (patch)
treed0e9d17d79b0734fdbdc4a371fecf61aaab5df0b /init_windows.go
parent855a09656a382d4089674712b400391a6e9dd3f9 (diff)
Changed Areas on WIndows so that they all use the same window class, rather than having one per Area.
Diffstat (limited to 'init_windows.go')
-rw-r--r--init_windows.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/init_windows.go b/init_windows.go
index c6d8694..993ac39 100644
--- a/init_windows.go
+++ b/init_windows.go
@@ -69,6 +69,10 @@ func doWindowsInit() (err error) {
if err != nil {
return fmt.Errorf("error registering standard window class (for Window): %v", err)
}
+ err = registerAreaWndClass()
+ if err != nil {
+ return fmt.Errorf("error registering Area window class: %v", err)
+ }
err = getStandardWindowFonts()
if err != nil {
return fmt.Errorf("error getting standard window fonts: %v", err)