]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/bmpcboxcmn.cpp
applying patch, closes #13045
[wxWidgets.git] / src / common / bmpcboxcmn.cpp
index fc403b713520e0f6cf859b946039f731a897e076..c4c963dff4f49e95d8bb8d70d008307f638f664c 100644 (file)
@@ -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);