suppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET to non-const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -141,7 +141,11 @@ class wxXmString
|
|||||||
{
|
{
|
||||||
void Init(const char *str)
|
void Init(const char *str)
|
||||||
{
|
{
|
||||||
m_string = XmStringCreateLtoR((char *)str, XmSTRING_DEFAULT_CHARSET);
|
m_string = XmStringCreateLtoR
|
||||||
|
(
|
||||||
|
const_cast<char *>(str),
|
||||||
|
const_cast<char *>(XmSTRING_DEFAULT_CHARSET)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user