]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
Fixed a long-standing issue where wxSlider controls with a hardcoded size would mispl...
[wxWidgets.git] / src / html / helpfrm.cpp
index bf3223b784e74f65f3b47c57b57789f4878148ff..5858f92b082f7ac12e54e26b4eaf95206fccbd77 100644 (file)
@@ -1674,7 +1674,7 @@ void wxHtmlHelpFrame::OnIndexFind(wxCommandEvent& event)
                 // other items, show them as well, because they are refinements
                 // of the displayed index entry (i.e. it is implicitly contained
                 // in them: "foo" with parent "bar" reads as "bar, foo"):
-                short int level = index[i].items[0]->level;
+                int level = index[i].items[0]->level;
                 i++;
                 while (i < cnt && index[i].items[0]->level > level)
                 {