#endif
#include "wx/button.h"
+#include "wx/utils.h"
#include <Xm/PushBG.h>
#include <Xm/PushB.h>
else
m_windowId = id;
- char* label1 = (label.IsNull() ? "" : (char*) (const char*) label);
+ wxString label1(wxStripMenuCodes(label));
- XmString text = XmStringCreateSimple (label1);
+ XmString text = XmStringCreateSimple ((char*) (const char*) label1);
Widget parentWidget = (Widget) parent->GetClientWidget();
/*