]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
implemented Freeze/Thaw() (patch 922156)
[wxWidgets.git] / src / x11 / app.cpp
index 1c924a182280b08fd8c078c270ea27a6f0364f7b..461200728d3fc0d5312244e982d0c877973dddf5 100644 (file)
@@ -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()