]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
Fixed bug: wxPGProperty::SetName() crashed if it was called before property was added...
[wxWidgets.git] / src / os2 / listbox.cpp
index 688ccfbf516a66c67684e50db2193c00155e6344..51af18eca30ae32165dc9794b84ed64b2ac94e76 100644 (file)
@@ -294,7 +294,7 @@ int wxListBox::DoInsertItems(const wxArrayStringsAdapter & items,
         n = (int)::WinSendMsg(GetHwnd(), LM_INSERTITEM, (MPARAM)lIndexType, (MPARAM)items[i].wx_str());
         if (n < 0)
         {
-            wxLogLastError(_T("WinSendMsg(LM_INSERTITEM)"));
+            wxLogLastError(wxT("WinSendMsg(LM_INSERTITEM)"));
             n = wxNOT_FOUND;
             break;
         }