typedef String to wxString until we decide upon the removal of Aegisub::String. (i hope so!), this fixes wx2.8 and wx2.9 when using wc_str().

Originally committed to SVN as r3215.
This commit is contained in:
Amar Takhar 2009-07-23 06:00:23 +00:00
parent c170f7f096
commit d14aa9d8f0
1 changed files with 4 additions and 1 deletions

View File

@ -48,8 +48,11 @@
// Define types used by Aegisub
namespace Aegisub {
// String type
#ifdef __WINDOWS__
typedef std::basic_string<wchar_t> String;
#else
typedef wxString String;
#endif
// String array
typedef std::vector<String> StringArray;