diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index bf24f496dd..3dfbb8a12c 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -1510,7 +1510,7 @@ void wxPGCheckBoxEditor::SetControlIntValue( wxPGProperty* WXUNUSED(property), w void wxPGCheckBoxEditor::SetValueToUnspecified( wxPGProperty* WXUNUSED(property), wxWindow* ctrl ) const { - ((wxSimpleCheckBox*)ctrl)->m_state = 0; + ((wxSimpleCheckBox*)ctrl)->m_state = wxSCB_STATE_UNSPECIFIED; ctrl->Refresh(); }