]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Mon, 3 May 2004 08:09:06 +0000 (08:09 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Mon, 3 May 2004 08:09:06 +0000 (08:09 +0000)
 OpenVMS issue

 Modified Files:
  wxWidgets/src/motif/toplevel.cpp
 ----------------------------------------------------------------------

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/toplevel.cpp

index a46d5170bc4f5f8e3542a9c360e61d396fec6af9..7555346227a0c6cf23faa9865fd9e0306daa589f 100644 (file)
@@ -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();