X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8161b5b9f03998a332dbacad3b476a292bc847f6..278c927dd9d163dd67d90cd5e01e77fecfcbac91:/src/gtk1/listbox.cpp diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index 3ad658a264..46808ec081 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -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