X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec31b41de3aec21850fa09df3dbed5a524a63303..8606ee50771053a38554c7d38b765a8142a1a96c:/include/wx/propgrid/props.h diff --git a/include/wx/propgrid/props.h b/include/wx/propgrid/props.h index a260605ade..77470cda2c 100644 --- a/include/wx/propgrid/props.h +++ b/include/wx/propgrid/props.h @@ -997,7 +997,7 @@ public: void SetCustomButton( const wxString& custBtText, wxArrayStringProperty* pcc ) { - if ( custBtText.length() ) + if ( !custBtText.empty() ) { EnableCustomNewAction(); m_pCallingClass = pcc;