]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/propgrid/props.h
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / include / wx / propgrid / props.h
index a260605ade5fea8da21ea0436d4f94314cdcd7fc..77470cda2c99d5c9bc7ea0bbf2adf3865d145bbf 100644 (file)
@@ -997,7 +997,7 @@ public:
     void SetCustomButton( const wxString& custBtText,
                           wxArrayStringProperty* pcc )
     {
-        if ( custBtText.length() )
+        if ( !custBtText.empty() )
         {
             EnableCustomNewAction();
             m_pCallingClass = pcc;