diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-30 02:06:01 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-30 02:06:01 -0400 |
| commit | 210102fe95a72f32f9149fd674bb0c2190f14171 (patch) | |
| tree | fad1fddb067ebc3705ff1ddba3c6f2673c03f36a /redo/table_windows.go | |
| parent | 5a51263adc6d2e8ee7ea0dac4d92a66755c07cb1 (diff) | |
Set up a new, cleaner model for deriving Control's methods and applied it to the Windows backend.
Diffstat (limited to 'redo/table_windows.go')
| -rw-r--r-- | redo/table_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/table_windows.go b/redo/table_windows.go index c3e0453..1453407 100644 --- a/redo/table_windows.go +++ b/redo/table_windows.go @@ -12,13 +12,13 @@ import ( import "C" type table struct { - *widgetbase + *controlbase *tablebase } func finishNewTable(b *tablebase, ty reflect.Type) Table { t := &table{ - widgetbase: newWidget(C.xWC_LISTVIEW, + controlbase: newControl(C.xWC_LISTVIEW, C.LVS_REPORT | C.LVS_OWNERDATA | C.LVS_NOSORTHEADER | C.LVS_SHOWSELALWAYS | C.WS_HSCROLL | C.WS_VSCROLL, C.WS_EX_CLIENTEDGE), // WS_EX_CLIENTEDGE without WS_BORDER will show the canonical visual styles border (thanks to MindChild in irc.efnet.net/#winprog) tablebase: b, |
