Use Boolean variable to store Boolean values.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Artur Wieczorek 2014-11-08 18:12:53 +00:00
parent 46d4a7d01c
commit 774a58ff20

View File

@ -1526,7 +1526,7 @@ wxVariant wxPropertyGridPageState::DoGetPropertyValues( const wxString& listname
void wxPropertyGridPageState::DoSetPropertyValues( const wxVariantList& list, wxPGProperty* defaultCategory ) void wxPropertyGridPageState::DoSetPropertyValues( const wxVariantList& list, wxPGProperty* defaultCategory )
{ {
unsigned char origFrozen = 1; bool origFrozen = true;
if ( m_pPropGrid->GetState() == this ) if ( m_pPropGrid->GetState() == this )
{ {