mirror of https://github.com/odrling/Aegisub
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:
parent
c170f7f096
commit
d14aa9d8f0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue