X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6afb56a2d6b0145fe58643db846250a8a6d8356..a3c15d892d21e938f3e53dfa81c62eb5da4ce3c8:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 1c924a1822..db8aaf22c3 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -173,7 +173,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv) xdisplay = XOpenDisplay( displayName.ToAscii() ); if (!xdisplay) { - wxLogError( _("wxWindows could not open display. Exiting.") ); + wxLogError( _("wxWidgets could not open display. Exiting.") ); return false; } @@ -746,7 +746,9 @@ Window wxGetWindowParent(Window window) 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 @@ -767,6 +769,7 @@ Window wxGetWindowParent(Window window) return parent; else return (Window) 0; +#endif } void wxApp::Exit()