From: Robin Dunn Date: Thu, 10 Mar 2005 19:07:15 +0000 (+0000) Subject: Give the wxChoice an explicit width so the min size of the panel won't X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/13304c1b9b3ef8405388812b3f722ffc41130a0f Give the wxChoice an explicit width so the min size of the panel won't 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 --- diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 5858f92b08..d5e073baf4 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -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"));