provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,9 +126,7 @@ public:
|
||||
wxCharBuffer(const CharType *str = NULL) : wxCharTypeBufferBase(str) {}
|
||||
wxCharBuffer(size_t len) : wxCharTypeBufferBase(len) {}
|
||||
|
||||
#if !wxUSE_UNICODE
|
||||
wxCharBuffer(const wxCStrData& cstr);
|
||||
#endif
|
||||
};
|
||||
|
||||
#if wxUSE_WCHAR_T
|
||||
@@ -140,9 +138,7 @@ public:
|
||||
wxWCharBuffer(const CharType *str = NULL) : wxCharTypeBufferBase(str) {}
|
||||
wxWCharBuffer(size_t len) : wxCharTypeBufferBase(len) {}
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
wxWCharBuffer(const wxCStrData& cstr);
|
||||
#endif
|
||||
};
|
||||
#endif // wxUSE_WCHAR_T
|
||||
|
||||
|
Reference in New Issue
Block a user