Add wxNO_UNSAFE_WXSTRING_CONV2 macro
The macro disallows implicit conversions between wxString and const char*
This commit is contained in:
committed by
Vadim Zeitlin
parent
15a4375f93
commit
65cbf40b7e
@@ -338,8 +338,10 @@ public:
|
||||
{ m_key.integer = i; }
|
||||
wxListKey(const wxString& s) : m_keyType(wxKEY_STRING)
|
||||
{ m_key.string = new wxString(s); }
|
||||
#ifndef wxNO_IMPLICIT_WXSTRING_ENCODING
|
||||
wxListKey(const char *s) : m_keyType(wxKEY_STRING)
|
||||
{ m_key.string = new wxString(s); }
|
||||
#endif // wxNO_IMPLICIT_WXSTRING_ENCODING
|
||||
wxListKey(const wchar_t *s) : m_keyType(wxKEY_STRING)
|
||||
{ m_key.string = new wxString(s); }
|
||||
|
||||
|
Reference in New Issue
Block a user