From dbea442a15fb4bcb1566171677561aff18541d60 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Mar 2007 17:28:00 +0000 Subject: [PATCH] added wxCStrData conversion to const unsigned char * too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/string.h b/include/wx/string.h index 425bb74bf1..79731a8e8d 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -793,7 +793,10 @@ public: operator const wchar_t*() const { return AsWChar(); } #else const char* AsChar() const; + const unsigned char* AsUnsignedChar() const + { return (const unsigned char *) AsChar(); } operator const char*() const { return AsChar(); } + operator const unsigned char*() const { return AsUnsignedChar(); } #endif wxString AsString() const; -- 2.45.2