]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dialog.cpp
Simplify timezone-related code and fix some minor bugs in it.
[wxWidgets.git] / src / os2 / dialog.cpp
index a8f0d6f9d154bb41944d5443e14fa02b05c1e21b..776f9db9080e1eb13dbab04b8c0d577460880d6e 100644 (file)
@@ -180,11 +180,7 @@ bool wxDialog::Show( bool bShow )
         // and we will lose activation
         m_modalData->ExitLoop();
 #if 0
-        if (m_pWindowDisabler)
-        {
-            delete m_pWindowDisabler;
-            m_pWindowDisabler = NULL;
-        }
+        wxDELETE(m_pWindowDisabler);
 #endif
     }