merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1057,7 +1057,7 @@ wxSize wxListBox::DoGetBestSize() const
|
||||
|
||||
// And just a bit more
|
||||
int cx, cy;
|
||||
GetTextExtent("X", &cx, &cy);
|
||||
GetTextExtent( wxT("X"), &cx, &cy);
|
||||
lbWidth += 3 * cx;
|
||||
|
||||
// don't make the listbox too tall (limit height to around 10 items) but don't
|
||||
|
Reference in New Issue
Block a user