]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
removed style parameter from MSWCreateToolbar(), it is unneeded
[wxWidgets.git] / src / gtk1 / listbox.cpp
index 3ad658a264728b802fb6be6b53d16db8674eea2e..46808ec081a151277a8021c9bef5545f8381b87a 100644 (file)
@@ -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