]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
fixing toolbar repositioning (iOS)
[wxWidgets.git] / src / generic / helpext.cpp
index efd0df51167184d34e4c013d3fa39f76fd1f4037..63f1b4c4b874994573f80fdcfb6d309b2189efd2 100644 (file)
@@ -339,7 +339,7 @@ bool wxExtHelpController::DisplayContents()
     file << m_helpDir << wxFILE_SEP_PATH << contents;
     if (file.Contains(wxT('#')))
         file = file.BeforeLast(wxT('#'));
-    if (contents.length() && wxFileExists(file))
+    if ( wxFileExists(file) )
         rc = DisplaySection(WXEXTHELP_CONTENTS_ID);
 
     // if not found, open homemade toc: