// Map empty, delete it.
delete gs_procmap;
gs_procmap = NULL;
+ return;
}
for (it = gs_procmap->begin();it != gs_procmap->end(); ++it)
{
bool wxSetDisplay(const wxString& displayName)
{
- Display *
- dpy = XOpenDisplay(displayName.empty() ? NULL : displayName.mb_str());
+ Display *dpy = XOpenDisplay
+ (
+ displayName.empty() ? NULL
+ : (const char *)displayName.mb_str()
+ );
if ( !dpy )
{