MCPcopy Create free account
hub / github.com/buggins/coolreader / CheckBoxOption

Method CheckBoxOption

cr3wx/src/optdlg.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 bool _defvalue;
11public:
12 CheckBoxOption( wxCheckBox * control, const char * option, bool defvalue )
13 : PropOption( control, option ), _defvalue(defvalue)
14 {
15 }
16 virtual void ControlToOption( CRPropRef props )
17 {
18 props->setBool( _option, ((wxCheckBox*)_control)->IsChecked() );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected