X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23318a5358be74727fb62854f623da84a4545bcd..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/common/bmpcboxcmn.cpp diff --git a/src/common/bmpcboxcmn.cpp b/src/common/bmpcboxcmn.cpp index fc403b7135..1fa3c83ffa 100644 --- a/src/common/bmpcboxcmn.cpp +++ b/src/common/bmpcboxcmn.cpp @@ -3,7 +3,6 @@ // Purpose: wxBitmapComboBox // Author: Jaakko Salli // Created: 2008-04-09 -// RCS-ID: $Id$ // Copyright: (c) 2008 Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -222,7 +221,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);