more 'unreachable code' warnings which had been disabled instead of being fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-10-08 18:33:28 +00:00
parent e933b5bc36
commit 31df756d74
2 changed files with 5 additions and 23 deletions

View File

@@ -65,14 +65,7 @@ static void wxTLWEventHandler( Widget wid,
void wxTopLevelWindowMotif::PreDestroy()
{
#ifdef __VMS
#pragma message disable codcauunr
#endif
if ( (GetWindowStyleFlag() & wxDIALOG_MODAL) != wxDIALOG_MODAL )
wxModelessWindows.DeleteObject(this);
#ifdef __VMS
#pragma message enable codcauunr
#endif
wxModelessWindows.DeleteObject(this);
m_icons.m_icons.Empty();