// do create message box
- Widget wMsgBox = (*dialogCreateFunction)(wParent, "", args, ac);
+ Widget wMsgBox = (*dialogCreateFunction)(wParent, wxMOTIF_STR(""), args, ac);
wxCHECK_MSG( wMsgBox, wxID_CANCEL, "msg box creation failed" );
XtSetArg (args[2], XmNadjustLast, False);
Widget radioBoxWidget =
- XmCreateRadioBox ((Widget)m_mainWidget, "radioBoxWidget", args, 3);
+ XmCreateRadioBox ((Widget)m_mainWidget, wxMOTIF_STR("radioBoxWidget"), args, 3);
m_radioButtons.reserve(n);
m_radioButtonLabels.reserve(n);
void wxTextCtrl::Clear()
{
- XmTextSetString ((Widget) m_mainWidget, "");
+ XmTextSetString ((Widget) m_mainWidget, wxMOTIF_STR(""));
m_modified = false;
}
NULL );
if( !value )
- value = "|";
+ value = wxMOTIF_STR("|");
int x, y;
window->GetTextExtent( value, &x, &y );
- if( x < 100 ) x = 100;
+ if( x < 100 )
+ x = 100;
return wxSize( x + 2 * xmargin + 2 * highlight + 2 * shadow,
// MBN: +2 necessary: Lesstif bug or mine?