diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-01 18:25:59 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-01 18:25:59 -0400 |
| commit | 80828b8a7d2273d5f35b7114c8dfc10605fc5df8 (patch) | |
| tree | d7897af6491bcbe1b0f1ede039220e936e5fe740 /redo/control_windows.go | |
| parent | 7f027bae3c34afb1261ef60aa3754676f0fa648a (diff) | |
Changed LPCWSTR to LPWSTR in the Windows code as the C means const and there are a few cases of const->non-const conversions as a result.
Diffstat (limited to 'redo/control_windows.go')
| -rw-r--r-- | redo/control_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/control_windows.go b/redo/control_windows.go index f75c765..a2c55e2 100644 --- a/redo/control_windows.go +++ b/redo/control_windows.go @@ -15,7 +15,7 @@ type controlParent struct { hwnd C.HWND } -func newControl(class C.LPCWSTR, style C.DWORD, extstyle C.DWORD) *controlbase { +func newControl(class C.LPWSTR, style C.DWORD, extstyle C.DWORD) *controlbase { c := new(controlbase) c.hwnd = C.newWidget(class, style, extstyle) c.controldefs = new(controldefs) |
