#include "wx/app.h"
#ifdef __VMS__
- #pragma message disable nosimpint
+#define XtDisplay XTDISPLAY
+#define XtParent XTPARENT
+#define XtScreen XTSCREEN
+#define XtWindow XTWINDOW
+#pragma message disable nosimpint
#endif
#include <Xm/Xm.h>
SetMainWidget( (WXWidget)0 );
// If this is the last top-level window, exit.
- if (wxTheApp && (wxTopLevelWindows.Number() == 0))
+ if (wxTheApp && (wxTopLevelWindows.GetCount() == 0))
{
wxTheApp->SetTopWindow(NULL);