diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index accb63bcd1..ec53ca7e3a 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -1226,7 +1226,7 @@ bool wxSystemColourProperty::QueryColourFromUser( wxVariant& variant ) const wxASSERT( propgrid ); // Must only occur when user triggers event - if ( !(propgrid->GetInternalFlags() & wxPG_FL_IN_HANDLECUSTOMEDITOREVENT) ) + if ( !propgrid->HasInternalFlag(wxPG_FL_IN_HANDLECUSTOMEDITOREVENT) ) return res; wxColourPropertyValue val = GetVal(); diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index ba7e2972aa..d9f23d2459 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -1640,7 +1640,7 @@ wxPGWindowList wxPGCheckBoxEditor::CreateControls( wxPropertyGrid* propGrid, if ( !property->IsValueUnspecified() ) { - if ( propGrid->GetInternalFlags() & wxPG_FL_ACTIVATION_BY_CLICK ) + if ( propGrid->HasInternalFlag(wxPG_FL_ACTIVATION_BY_CLICK) ) { // Send the event to toggle the value (if mouse cursor is on the item) wxPoint point = cb->ScreenToClient(::wxGetMousePosition());