Committing in .
wxX11 for OpenVMS (phase 3) -minimal.exe for OpenVMS now builds and displays a window but crashes when trying to use the menus. Modified Files: wxWidgets/descrip.mms wxWidgets/include/wx/vms_x_fix.h wxWidgets/lib/VMS_X11_UNIV.OPT wxWidgets/samples/minimal/descrip.mms wxWidgets/src/univ/descrip.mms wxWidgets/src/x11/app.cpp wxWidgets/src/x11/descrip.mms wxWidgets/src/x11/font.cpp wxWidgets/src/x11/gsockx11.cpp wxWidgets/src/x11/utilsx.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user