wxString id = dfarr[i].GetId();
while( ( retval = XmClipboardCopy( xdisplay, xwindow, itemId,
- wxConstCast(id.c_str(), char),
+ wxConstCast(id.mb_str(), char),
NULL, size, i, &data_id ) )
== XmClipboardLocked );
wxString id = chosenFormat.GetId();
while( ( retval = XmClipboardInquireLength( xdisplay, xwindow,
- wxConstCast(id.c_str(), char),
+ wxConstCast(id.mb_str(), char),
&length ) )
== XmClipboardLocked );
if( retval != XmClipboardSuccess )
wxCharBuffer buf(length);
while( ( retval = XmClipboardRetrieve( xdisplay, xwindow,
- wxConstCast(id.c_str(), char),
+ wxConstCast(id.mb_str(), char),
(XtPointer)buf.data(),
length, &dummy1, &dummy2 ) )
== XmClipboardLocked );