X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ec6fd04ebd5f37220cb0d4d7c6d7256af50aee7..81b41c03c6bcbffa9293a0e280729ffaaf9ef2c7:/src/motif/toplevel.cpp diff --git a/src/motif/toplevel.cpp b/src/motif/toplevel.cpp index d507efc74b..6d1b385573 100644 --- a/src/motif/toplevel.cpp +++ b/src/motif/toplevel.cpp @@ -25,7 +25,11 @@ #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 @@ -87,7 +91,7 @@ wxTopLevelWindowMotif::~wxTopLevelWindowMotif() 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);