xdisplay = XOpenDisplay( displayName.ToAscii() );
if (!xdisplay)
{
- wxLogError( _("wxWindows could not open display. Exiting.") );
+ wxLogError( _("wxWidgets could not open display. Exiting.") );
return false;
}
return (Window) 0;
- Window parent, root = 0;
+#ifndef __VMS
+ // VMS chokes on unreacheable code
+ Window parent, root = 0;
#if wxUSE_NANOX
int noChildren = 0;
#else
return parent;
else
return (Window) 0;
+#endif
}
void wxApp::Exit()
int i;
for (i = 0; i < 2; i++)
{
- bool s_inYield = FALSE;
+ static bool s_inYield = FALSE;
if ( s_inYield )
{