X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23318a5358be74727fb62854f623da84a4545bcd..b404a8f3b072129c107c6d9a5e0f6f53cd34807b:/src/common/bmpcboxcmn.cpp diff --git a/src/common/bmpcboxcmn.cpp b/src/common/bmpcboxcmn.cpp index fc403b7135..c4c963dff4 100644 --- a/src/common/bmpcboxcmn.cpp +++ b/src/common/bmpcboxcmn.cpp @@ -222,7 +222,7 @@ void wxBitmapComboBoxBase::DrawItem(wxDC& dc, true); } - if ( text.length() ) + if ( !text.empty() ) dc.DrawText(text, rect.x + m_imgAreaWidth + 1, rect.y + (rect.height-dc.GetCharHeight())/2);