]> git.saurik.com Git - wxWidgets.git/commitdiff
Another inline constructor to facilitate Unicode conversion without #if-ing...
authorOve Kaaven <ovek@arcticnet.no>
Thu, 15 Apr 1999 15:13:26 +0000 (15:13 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Thu, 15 Apr 1999 15:13:26 +0000 (15:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/string.h

index 96a2184a645f328a628f45b23af9d8681ca0a51d..6ba40254f702449957b8739c87f8af637dc52472 100644 (file)
@@ -359,6 +359,9 @@ public:
     // from C string (for compilers using unsigned char)
   wxString(const unsigned char* psz, size_t nLength = wxSTRING_MAXLEN)
     { InitWith((const char*)psz, 0, nLength); }
+    // from multibyte string
+  wxString(const char *psz, wxMBConv& WXUNUSED(conv), size_t nLength = wxSTRING_MAXLEN)
+    { InitWith(psz, 0, nLength); }
     // from wide (Unicode) string
   wxString(const wchar_t *pwz);
     // from wxCharBuffer