projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
toplevel code transferred to wxTopLevelWindow
[wxWidgets.git]
/
src
/
stc
/
PlatWX.cpp
diff --git
a/src/stc/PlatWX.cpp
b/src/stc/PlatWX.cpp
index 3ce7bceafc2d2348faf9170f4eb7f29a19bda96a..65d7de1b454a19f4c145dbac61ce36810108fe5f 100644
(file)
--- 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;
rc.left = 0;
if (sz.x > 400)
sz.x = 400;
-
// if (sz.y > 15
0) // TODO: Use desiredVisibleRows??
-// sz.y = 150; // For now just use the default from GetBestSize
+
if (sz.y > 16
0) // TODO: Use desiredVisibleRows??
+ sz.y = 160;
rc.right = sz.x;
rc.bottom = sz.y;
return rc;
rc.right = sz.x;
rc.bottom = sz.y;
return rc;