]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/bmpcombobox.cpp
Update configuration for OpenVMS
[wxWidgets.git] / samples / widgets / bmpcombobox.cpp
index 8fa31d05684f5994f9069a01b66d6a2773e4a75e..33276957fc2ffbe0f84252dd79849d93cff7dd3d 100644 (file)
@@ -884,7 +884,7 @@ wxBitmap BitmapComboBoxWidgetsPage::QueryBitmap(wxString* pStr)
 
     ::wxSetCursor( *wxHOURGLASS_CURSOR );
 
 
     ::wxSetCursor( *wxHOURGLASS_CURSOR );
 
-    if ( filepath.length() )
+    if ( !filepath.empty() )
     {
         if ( pStr )
         {
     {
         if ( pStr )
         {