X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5b3c8a0cf8a7e1ad4d5a74de2c2aca1378f7078..345ff9c65b3ef17709785708b224dfcbf5135583:/src/generic/odcombo.cpp diff --git a/src/generic/odcombo.cpp b/src/generic/odcombo.cpp index 9759b33a33..8321e400d1 100644 --- a/src/generic/odcombo.cpp +++ b/src/generic/odcombo.cpp @@ -504,7 +504,7 @@ int wxVListBoxComboPopup::Append(const wxString& item) for ( i=0; iSetString(n,s); } @@ -999,7 +999,7 @@ void wxOwnerDrawnComboBox::Select(int n) { EnsurePopupControl(); - wxCHECK_RET( (n == wxNOT_FOUND) || IsValid(n), _T("invalid index in wxOwnerDrawnComboBox::Select") ); + wxCHECK_RET( (n == wxNOT_FOUND) || IsValid(n), wxT("invalid index in wxOwnerDrawnComboBox::Select") ); GetVListBoxComboPopup()->SetSelection(n); @@ -1039,7 +1039,7 @@ int wxOwnerDrawnComboBox::DoInsertItems(const wxArrayStringsAdapter& items, for ( unsigned int i = 0; i < count; ++i ) { - int n = GetVListBoxComboPopup()->Append(items[i]); + n = GetVListBoxComboPopup()->Append(items[i]); AssignNewItemClientData(n, clientData, i, type); }