X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6afb56a2d6b0145fe58643db846250a8a6d8356..d3e780ecdf69233c872d51216eedbc64a1b6db25:/src/x11/app.cpp?ds=inline diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 1c924a1822..461200728d 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -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()