]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
Bring back double border
[wxWidgets.git] / src / generic / helpext.cpp
index 7a8135133d5fc4c20dd8366ddf9d76d4ce517f65..28a1eb02523851e25d94f6e32bf4e84c1b189f92 100644 (file)
@@ -457,10 +457,15 @@ bool wxExtHelpController::KeywordSearch(const wxString& k,
         break;
 
     default:
         break;
 
     default:
-        idx = wxGetSingleChoiceIndex(
-            showAll ? _("Help Index") : _("Relevant entries:"),
-            showAll ? _("Help Index") : _("Entries found"),
-            idx, choices);
+        if (showAll)
+            idx = wxGetSingleChoiceIndex(_("Help Index"),
+                                         _("Help Index"),
+                                         idx, choices);
+        else
+            idx = wxGetSingleChoiceIndex(_("Relevant entries:"),
+                                         _("Entries found"),
+                                         idx, choices);
+
         if (idx >= 0)
             rc = DisplayHelp(urls[idx]);
         break;
         if (idx >= 0)
             rc = DisplayHelp(urls[idx]);
         break;