diff --git a/src/propgrid/propgridpagestate.cpp b/src/propgrid/propgridpagestate.cpp index 82ba97c640..fec76a46b1 100644 --- a/src/propgrid/propgridpagestate.cpp +++ b/src/propgrid/propgridpagestate.cpp @@ -1526,7 +1526,7 @@ wxVariant wxPropertyGridPageState::DoGetPropertyValues( const wxString& listname void wxPropertyGridPageState::DoSetPropertyValues( const wxVariantList& list, wxPGProperty* defaultCategory ) { - unsigned char origFrozen = 1; + bool origFrozen = true; if ( m_pPropGrid->GetState() == this ) {