projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Converted wxVariant to use wxObject's reference counting facilities. Should make...
[wxWidgets.git]
/
src
/
osx
/
choice_osx.cpp
diff --git
a/src/osx/choice_osx.cpp
b/src/osx/choice_osx.cpp
index d9b3932deefefcb224ff96470147391d2b48ca9e..9702a7da67d1634a75ee703a90f5eacbdfd3cee4 100644
(file)
--- a/
src/osx/choice_osx.cpp
+++ b/
src/osx/choice_osx.cpp
@@
-256,7
+256,8
@@
bool wxChoice::OSXHandleClicked( double WXUNUSED(timestampsec) )
wxSize wxChoice::DoGetBestSize() const
{
int lbWidth = GetCount() > 0 ? 20 : 100; // some defaults
- int lbHeight = 20;
+ wxSize baseSize = wxWindow::DoGetBestSize();
+ int lbHeight = baseSize.y;
int wLine;
{