mirror of https://github.com/odrling/Aegisub
15 lines
379 B
C++
15 lines
379 B
C++
|
#include "compat.h"
|
||
|
#include "main.h"
|
||
|
|
||
|
wxArrayString lagi_MRU_wxAS(const wxString &list) {
|
||
|
wxArrayString work;
|
||
|
|
||
|
const agi::MRUManager::MRUListMap *map_list = AegisubApp::Get()->mru->Get(STD_STR(list));
|
||
|
|
||
|
for (agi::MRUManager::MRUListMap::const_iterator i_lst = map_list->begin(); i_lst != map_list->end(); ++i_lst) {
|
||
|
work.Add(wxString(i_lst->second));
|
||
|
}
|
||
|
|
||
|
return work;
|
||
|
}
|