Remove explicit casts to (const char *), and replace it with .c_str();
use wxConstCast instead of explicit casts to char*. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,6 +61,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
|
||||
xmToggleButtonWidgetClass, parentWidget,
|
||||
wxFont::GetFontTag(), m_font.GetFontType(XtDisplay(parentWidget)),
|
||||
XmNlabelString, text(),
|
||||
XmNrecomputeSize, False,
|
||||
NULL);
|
||||
|
||||
XtAddCallback( (Widget)m_mainWidget,
|
||||
|
Reference in New Issue
Block a user