]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
[wxWidgets.git] / include / wx / buffer.h
index b91a6cfc7831e6ca7c5e4b2f8bb2c17bec9d75ef..9f9eb174b751e409a07ad20283183e2529f18e2d 100644 (file)
@@ -70,7 +70,7 @@ public:
         wxASSERT_MSG( wcs, wxT("NULL string in wxWCharBuffer") );
 
         if (wcs) {
-          size_t siz = (wcslen(wcs)+1)*sizeof(wchar_t);
+          size_t siz = (::wcslen(wcs)+1)*sizeof(wchar_t);
           m_wcs = (wchar_t *)malloc(siz);
           memcpy(m_wcs, wcs, siz);
         }