]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
fix Normalize() test by using dummy working directory allowing the test to work even...
[wxWidgets.git] / include / wx / buffer.h
index fa8f3215c5b5943386fff9422e50a357df605689..f17aa0c1abaec6c582a452f3358dd031eb1bfb32 100644 (file)
@@ -122,11 +122,15 @@ DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW);
 #undef DEFINE_BUFFER
 
 #if wxUSE_UNICODE
+    typedef wxWCharBuffer wxWxCharBuffer;
+
     #define wxMB2WXbuf wxWCharBuffer
     #define wxWX2MBbuf wxCharBuffer
     #define wxWC2WXbuf wxChar*
     #define wxWX2WCbuf wxChar*
 #else // ANSI
+    typedef wxCharBuffer wxWxCharBuffer;
+
     #define wxMB2WXbuf wxChar*
     #define wxWX2MBbuf wxChar*
     #define wxWC2WXbuf wxCharBuffer