1
0
forked from mirrors/0ad

Fix unicode build for Atlas on OpenSuse.

Based on a patch by: @MatSharrow
Reviewed by: @wraitii
Differential Revision: https://code.wildfiregames.com/D4178
This was SVN commit r25815.
This commit is contained in:
Stan
2021-06-29 12:41:31 +00:00
parent 7871d74521
commit dddaa67abd
5 changed files with 16 additions and 18 deletions
@@ -1,4 +1,4 @@
/* Copyright (C) 2019 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -257,7 +257,7 @@ void EditableListCtrl::SetCellString(long item, long column, wxString& str)
{
wxCHECK(item >= 0 && column >= 0 && column < (int)m_ColumnTypes.size(), );
MakeSizeAtLeast(item+1);
m_ListData[item].set(m_ColumnTypes[column].key, str);
m_ListData[item].set(m_ColumnTypes[column].key, str.utf8_str());
}
void EditableListCtrl::SetCellObject(long item, long column, AtObj& obj)