]> git.saurik.com Git - wxWidgets.git/commitdiff
Give the wxChoice an explicit width so the min size of the panel won't
authorRobin Dunn <robin@alldunn.com>
Thu, 10 Mar 2005 19:07:15 +0000 (19:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 10 Mar 2005 19:07:15 +0000 (19:07 +0000)
be too large, preventing the splitter from resizing it back down to a
manageble size.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

index 5858f92b082f7ac12e54e26b4eaf95206fccbd77..d5e073baf47cb548a9b94ca589e9d8a9a2a5e5ce 100644 (file)
@@ -507,7 +507,7 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
                                       wxDefaultPosition, wxDefaultSize,
                                       wxTE_PROCESS_ENTER);
         m_SearchChoice = new wxChoice(dummy, wxID_HTML_SEARCHCHOICE,
-                                      wxDefaultPosition, wxDefaultSize);
+                                      wxDefaultPosition, wxSize(125,-1));
         m_SearchCaseSensitive = new wxCheckBox(dummy, wxID_ANY, _("Case sensitive"));
         m_SearchWholeWords = new wxCheckBox(dummy, wxID_ANY, _("Whole words only"));
         m_SearchButton = new wxButton(dummy, wxID_HTML_SEARCHBUTTON, _("Search"));