2010-05-21 03:13:36 +02:00
|
|
|
#include "compat.h"
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
wxArrayString lagi_MRU_wxAS(const wxString &list) {
|
|
|
|
wxArrayString work;
|
|
|
|
|
2010-06-18 04:23:27 +02:00
|
|
|
const agi::MRUManager::MRUListMap *map_list = config::mru->Get(STD_STR(list));
|
2010-05-21 03:13:36 +02:00
|
|
|
|
|
|
|
for (agi::MRUManager::MRUListMap::const_iterator i_lst = map_list->begin(); i_lst != map_list->end(); ++i_lst) {
|
2010-06-03 22:32:25 +02:00
|
|
|
work.Add(wxString(i_lst->second.c_str(), wxConvUTF8));
|
2010-05-21 03:13:36 +02:00
|
|
|
}
|
|
|
|
|
2010-06-03 22:32:25 +02:00
|
|
|
return work;
|
2010-05-21 03:13:36 +02:00
|
|
|
}
|