From 774a58ff203688869db2b1e291a206af33c285a2 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 8 Nov 2014 18:12:53 +0000 Subject: [PATCH] Use Boolean variable to store Boolean values. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/propgridpagestate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {