Build wx without iostream support

This commit is contained in:
Thomas Goyne 2014-05-31 06:47:22 -07:00
parent 193b30af86
commit ff9beb850c
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#define wxUSE_CMDLINE_PARSER 0
#define wxUSE_THREADS 1
#define wxUSE_STREAMS 1
#define wxUSE_STD_IOSTREAM 1
#define wxUSE_STD_IOSTREAM 0
#define wxUSE_STD_STRING 1
#define wxUSE_PRINTF_POS_PARAMS 1
#define wxUSE_LONGLONG 1

View File

@ -105,7 +105,7 @@ void RestartAegisub() {
if (bundle_path.empty() || helper_path.empty()) return;
wxString exec = fmt_wx("\"%s\" /usr/bin/open -n \"%s\"'", helper_path, bundle_path);
LOG_I("util/restart/exec") << exec;
LOG_I("util/restart/exec") << exec.utf8_str();
wxExecute(exec);
#else
wxExecute(wxStandardPaths::Get().GetExecutablePath());