#pragma once #include #include #include #include #include #include inline wxColour to_wx(agi::Color color) { return wxColour(color.r, color.g, color.b, 255 - color.a); } inline wxString to_wx(std::string const& str) { return wxString(str.c_str(), wxConvUTF8); } wxArrayString to_wx(std::vector const& vec); inline agi::Color from_wx(wxColour color) { return agi::Color(color.Red(), color.Green(), color.Blue(), 255 - color.Alpha()); } inline std::string from_wx(wxString const& str) { return std::string(str.utf8_str()); } wxArrayString lagi_MRU_wxAS(const char *list);