wxgridcellbooleditorthe editor for boolean data. derived from see also wxgridcelleditor, wxgridcellfloateditor, wxgridcellnumbereditor, wxgridcelltexteditor, wxgridcellchoiceeditor include files <wx/grid.h> members
wxgridcellbooleditor::wxgridcellbooleditor
wxgridcellbooleditor::wxgridcellbooleditorwxgridcellbooleditor() default constructor.
wxgridcellbooleditor::istruevaluestatic bool istruevalue(const wxstring& value) returns true if the given value is equal to the string representation of the truth value we currently use (see usestringvalues).
wxgridcellbooleditor::usestringvaluesstatic void usestringvalues(const wxstring& valuetrue = _t("1"), const wxstring& valuefalse = _t("")) this method allows to customize the values returned by getvalue() method for the cell using this editor. by default, the default values of the arguments are used, i.e. "1" is returned if the cell is checked and an empty string otherwise, using this method allows to change this.
|