projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce9b1b
)
39 items is awfully big
author
Robin Dunn
<robin@alldunn.com>
Thu, 22 Jul 2004 01:06:37 +0000
(
01:06
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Thu, 22 Jul 2004 01:06:37 +0000
(
01:06
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28380
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/choice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/choice.cpp
b/src/msw/choice.cpp
index 6abcdaef9aa6822dfe8841f77ea869411f884a8f..9abbe7e00f452ffe7329d75f1db5336546d527e8 100644
(file)
--- a/
src/msw/choice.cpp
+++ b/
src/msw/choice.cpp
@@
-477,8
+477,8
@@
void wxChoice::DoSetSize(int x, int y,
size_t nItems = GetCount();
if ( !nItems )
nItems = 9;
- else if ( nItems >
39
)
- nItems =
39
;
+ else if ( nItems >
24
)
+ nItems =
24
;
// add space for the drop down list
const int hItem = SendMessage(GetHwnd(), CB_GETITEMHEIGHT, 0, 0);