X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1248b41f9f71110347659db8c54c75786eba23c6..b6a20a20d010d643e52914f51aa0700df0da925f:/src/motif/toplevel.cpp diff --git a/src/motif/toplevel.cpp b/src/motif/toplevel.cpp index a46d5170bc..7555346227 100644 --- a/src/motif/toplevel.cpp +++ b/src/motif/toplevel.cpp @@ -69,8 +69,14 @@ static void wxTLWEventHandler( Widget wid, void wxTopLevelWindowMotif::PreDestroy() { - if ( (GetWindowStyleFlag() & wxDIALOG_MODAL) != wxDIALOG_MODAL ) +#ifdef __VMS +#pragma message disable codcauunr +#endif + if ( (GetWindowStyleFlag() & wxDIALOG_MODAL) != wxDIALOG_MODAL ) wxModelessWindows.DeleteObject(this); +#ifdef __VMS +#pragma message enable codcauunr +#endif m_icons.m_icons.Empty();