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
@@ -45,10 +45,12 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
#ifndef wxNO_IMPLICIT_WXSTRING_ENCODING
|
||||
ButtonLabel(const char *label)
|
||||
: m_label(label), m_stockId(wxID_NONE)
|
||||
{
|
||||
}
|
||||
#endif // wxNO_IMPLICIT_WXSTRING_ENCODING
|
||||
|
||||
ButtonLabel(const wchar_t *label)
|
||||
: m_label(label), m_stockId(wxID_NONE)
|
||||
|
Reference in New Issue
Block a user