X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/538f4dd82b7d37293a45516da0036b453f631f9f..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/src/propgrid/manager.cpp?ds=sidebyside diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index 1b4bf21bb0..2030ec2ea3 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -986,7 +986,7 @@ wxPropertyGridPage* wxPropertyGridManager::InsertPage( int index, state->InitNonCatMode(); } - if ( label.length() ) + if ( !label.empty() ) { wxASSERT_MSG( !pageObj->m_label.length(), wxT("If page label is given in constructor, empty label must be given in AddPage"));