]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ustring.h
use "new" GtkToolbar API
[wxWidgets.git] / include / wx / ustring.h
index 1158af5a98f3d1c06a15db4b0c1aa0d36ded942b..1fdfa105a4ac2ed639f88dad2b8a570d155f7f72 100644 (file)
@@ -13,6 +13,8 @@
 #include "wx/defs.h"
 #include "wx/string.h"
 
+#include <string>
+
 WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE( wxCharTypeBuffer<wxChar32> )
 
 #if SIZEOF_WCHAR_T == 2
@@ -185,7 +187,7 @@ public:
         return utf16_str();
     }
 #else
-    wchar_t* wx_str()
+    const wchar_t* wx_str()
     {
         return c_str();
     }