compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-14 23:35:28 +00:00
parent fddca1dce4
commit 9e9f08b5ed

View File

@@ -310,7 +310,7 @@ long wxExecute(const wxString& command, int flags, wxProcess *process)
argv[n] = NULL;
while (n-- > 0)
argv[n] = wx_const_cast(wxChar*, args[n].c_str());
argv[n] = wx_const_cast(wxChar*, (const char *)args[n].c_str());
long result = wxExecute(argv, flags, process);