From 165308b81973d90d023da5254e92c6fa7ae386eb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 24 Feb 2014 13:22:59 -0500 Subject: Added Windows preferred size code. It doesn't work right now; both GetDC() and GetWindowDC() are not returning at all on both wine and Windows XP; need to debug (print guards are included). --- init_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init_windows.go') diff --git a/init_windows.go b/init_windows.go index 5280742..eaf4816 100644 --- a/init_windows.go +++ b/init_windows.go @@ -66,9 +66,9 @@ func doWindowsInit() (err error) { if err != nil { return fmt.Errorf("error initializing standard window class auxiliary info: %v", err) } - err = getStandardWindowsFonts() + err = getStandardWindowFonts() if err != nil { - return fmt.Errorf("error getting standard Windows fonts: %v", err) + return fmt.Errorf("error getting standard window fonts: %v", err) } // TODO others return nil // all ready to go -- cgit v1.2.3