From 7b82d78291036d3abb54f5ae259f5dfb958b9c0c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Feb 2002 19:05:49 +0000 Subject: [PATCH] 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 --- src/generic/logg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 382e9e1238..fd60b1f972 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -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 // -- 2.45.2