// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#define XtParent XTPARENT
-#define XtWindow XTWINDOW
-#endif
-
#include "wx/filedlg.h"
#ifndef WX_PRECOMP
if (!m_message.IsNull())
XtVaSetValues(shell,
- XmNtitle, wxConstCast(m_message.mb_str(), char),
+ XmNtitle, (const char*)m_message.mb_str(),
NULL);
if (!m_wildCard.empty())
else
filter = wildCard;
- XmTextSetString(filterWidget, wxConstCast(filter.mb_str(), char));
+ XmTextSetString(filterWidget, filter.char_str());
XmFileSelectionDoSearch(fileSel, NULL);
}
if (!entirePath.empty())
{
- XmTextSetString(selectionWidget,
- wxConstCast(entirePath.mb_str(), char));
+ XmTextSetString(selectionWidget, entirePath.char_str());
}
XtAddCallback(fileSel, XmNcancelCallback,