make the log dialog slightly taller when it is expanded to account for a possible horz scrollbar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-02-05 19:05:49 +00:00
parent 7eaac9f513
commit 7b82d78291

View File

@ -870,7 +870,7 @@ void wxLogDialog::CreateDetailsControls()
m_listctrl->SetColumnWidth(1, wxLIST_AUTOSIZE);
// calculate an approximately nice height for the listctrl
int height = GetCharHeight()*(count + 2);
int height = GetCharHeight()*(count + 4);
// but check that the dialog won't fall fown from the screen
//