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
This commit is contained in:
parent
f7efcd8144
commit
9af175d227
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user