From: Robin Dunn Date: Sat, 20 Oct 2001 17:49:06 +0000 (+0000) Subject: Put the vertical limit back in for the AutoCOmp list box X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9af175d227f382e78f85174d1602782b5506ad57 Put the vertical limit back in for the AutoCOmp list box git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 3ce7bceafc..65d7de1b45 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -494,8 +494,8 @@ PRectangle ListBox::GetDesiredRect() { rc.left = 0; if (sz.x > 400) sz.x = 400; -// if (sz.y > 150) // TODO: Use desiredVisibleRows?? -// sz.y = 150; // For now just use the default from GetBestSize + if (sz.y > 160) // TODO: Use desiredVisibleRows?? + sz.y = 160; rc.right = sz.x; rc.bottom = sz.y; return rc; diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 3ce7bceafc..65d7de1b45 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -494,8 +494,8 @@ PRectangle ListBox::GetDesiredRect() { rc.left = 0; if (sz.x > 400) sz.x = 400; -// if (sz.y > 150) // TODO: Use desiredVisibleRows?? -// sz.y = 150; // For now just use the default from GetBestSize + if (sz.y > 160) // TODO: Use desiredVisibleRows?? + sz.y = 160; rc.right = sz.x; rc.bottom = sz.y; return rc;