projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxChoice/wxComboBox background colour change (to get back to where we were);
[wxWidgets.git]
/
src
/
os2
/
listbox.cpp
diff --git
a/src/os2/listbox.cpp
b/src/os2/listbox.cpp
index f90d2d14173f56832b992a6bc6ae489f14f73665..5408910fb3864c529f9ae32f9a58b75e425190e8 100644
(file)
--- a/
src/os2/listbox.cpp
+++ b/
src/os2/listbox.cpp
@@
-606,7
+606,7
@@
void wxListBox::SetHorizontalExtent(const wxString& s)
*/
}
*/
}
-wxSize wxListBox::DoGetBestSize()
+wxSize wxListBox::DoGetBestSize()
const
{
// find the widest string
int wLine;
{
// find the widest string
int wLine;
@@
-626,7
+626,7
@@
wxSize wxListBox::DoGetBestSize()
// the listbox should be slightly larger than the widest string
int cx, cy;
// the listbox should be slightly larger than the widest string
int cx, cy;
- wxGetCharSize(GetHWND(), &cx, &cy, &GetFont());
+ wxGetCharSize(GetHWND(), &cx, &cy,
(wxFont*)
&GetFont());
wListbox += 3*cx;
wListbox += 3*cx;