X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23318a5358be74727fb62854f623da84a4545bcd..7198c3368055d88249a338eb33b21f051f674806:/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);