X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75cada8e68f31ca6475f238fe506352ccb0783f1..af4088f1bebd177c33a085f892062fd1d5c64d88:/src/stc/PlatWX.cpp 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;