X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1248b41f9f71110347659db8c54c75786eba23c6..a2c6537e60ab5564d6bf33bb14ac8c42744aa93c:/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();