| 6 | { |
| 7 | |
| 8 | class Button : public Control |
| 9 | { |
| 10 | public: |
| 11 | Button( HWND hwnd = NULL ) |
| 12 | : Control( hwnd ) { } |
| 13 | |
| 14 | virtual bool checked() const { return Button_GetCheck( _hwnd ) != BST_UNCHECKED; } |
| 15 | virtual void checked( bool state ) { Button_SetCheck( _hwnd, state ); } |
| 16 | |
| 17 | inline operator bool() { return checked(); } |
| 18 | }; |
| 19 | |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected