(parent Container, style uint)
| 66 | } |
| 67 | |
| 68 | func (cw *CustomWidget) init(parent Container, style uint) error { |
| 69 | if err := InitWidget( |
| 70 | cw, |
| 71 | parent, |
| 72 | customWidgetWindowClass, |
| 73 | win.WS_VISIBLE|uint32(style), |
| 74 | 0); err != nil { |
| 75 | return err |
| 76 | } |
| 77 | |
| 78 | return nil |
| 79 | } |
| 80 | |
| 81 | // deprecated, use PaintMode |
| 82 | func (cw *CustomWidget) ClearsBackground() bool { |
no test coverage detected