Preparing wxString for UTF-8 representation:
1) split into wxStringImpl class that has std::string-like API and operates on char* or wchar_t* data and wxString class that provides Unicode iterators and indexes 2) added both char* and wchar_t* versions of many wxString methods to avoid having to use _T() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
const wxArgNativeCharType *wxArgNormalizer<const wxCStrData&>::get() const
|
||||
const wxStringCharType *wxArgNormalizer<const wxCStrData&>::get() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
const wxArgNativeCharType *wxArgNormalizer<const wxString&>::get() const
|
||||
const wxStringCharType *wxArgNormalizer<const wxString&>::get() const
|
||||
{
|
||||
return m_value.c_str();
|
||||
return m_value.wx_str();
|
||||
}
|
||||
|
||||
#if wxUSE_UNICODE_WCHAR
|
||||
|
Reference in New Issue
Block a user