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:
@@ -494,8 +494,8 @@ PRectangle ListBox::GetDesiredRect() {
|
|||||||
rc.left = 0;
|
rc.left = 0;
|
||||||
if (sz.x > 400)
|
if (sz.x > 400)
|
||||||
sz.x = 400;
|
sz.x = 400;
|
||||||
// if (sz.y > 150) // TODO: Use desiredVisibleRows??
|
if (sz.y > 160) // TODO: Use desiredVisibleRows??
|
||||||
// sz.y = 150; // For now just use the default from GetBestSize
|
sz.y = 160;
|
||||||
rc.right = sz.x;
|
rc.right = sz.x;
|
||||||
rc.bottom = sz.y;
|
rc.bottom = sz.y;
|
||||||
return rc;
|
return rc;
|
||||||
|
@@ -494,8 +494,8 @@ PRectangle ListBox::GetDesiredRect() {
|
|||||||
rc.left = 0;
|
rc.left = 0;
|
||||||
if (sz.x > 400)
|
if (sz.x > 400)
|
||||||
sz.x = 400;
|
sz.x = 400;
|
||||||
// if (sz.y > 150) // TODO: Use desiredVisibleRows??
|
if (sz.y > 160) // TODO: Use desiredVisibleRows??
|
||||||
// sz.y = 150; // For now just use the default from GetBestSize
|
sz.y = 160;
|
||||||
rc.right = sz.x;
|
rc.right = sz.x;
|
||||||
rc.bottom = sz.y;
|
rc.bottom = sz.y;
|
||||||
return rc;
|
return rc;
|
||||||
|
Reference in New Issue
Block a user