Moved TODOs about stripping non-Windows XP constants to future plans; also reworded a comment in comctl_windows.go.

This commit is contained in:
Pietro Gagliardi 2014-04-28 12:13:06 -04:00
parent 4452de9a07
commit 9a1eb65f9a
3 changed files with 2 additions and 4 deletions

View File

@ -9,8 +9,7 @@ import (
"io/ioutil" "io/ioutil"
) )
// pretty much every constant here except _WM_USER is from commctrl.h // pretty much every constant here except _WM_USER is from commctrl.h, except where noted
// TODO for all: filter out constants not available in Windows XP
var ( var (
// TODO deinitialize at program end? // TODO deinitialize at program end?

View File

@ -7,8 +7,6 @@ import (
// "unsafe" // "unsafe"
) )
// TODO for all: filter any not provided in Windows XP
// Button styles. // Button styles.
const ( const (
// from winuser.h // from winuser.h

View File

@ -72,6 +72,7 @@ far off:
- change the MsgBox() calls to encourage good alert dialog design??????? maybe? TODO - change the MsgBox() calls to encourage good alert dialog design??????? maybe? TODO
- make gcc (Unix)/clang (Mac OS X) pedantic about warnings/errors; also -Werror - make gcc (Unix)/clang (Mac OS X) pedantic about warnings/errors; also -Werror
- problem: cgo-generated files trip -Werror up; I can't seem to turn off unused argument warnings with the -Wall/-Wextra/-pedantic options - problem: cgo-generated files trip -Werror up; I can't seem to turn off unused argument warnings with the -Wall/-Wextra/-pedantic options
- strip non-Windows XP constants from the Windows constants files? or at least just comment them all out...
big things: big things:
- make sure every sysData function only performs a single invocation to uitask; see http://blogs.msdn.com/b/oldnewthing/archive/2005/10/10/479124.aspx#479182 - make sure every sysData function only performs a single invocation to uitask; see http://blogs.msdn.com/b/oldnewthing/archive/2005/10/10/479124.aspx#479182