]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
Fix mismatches between format strings and arguments.
[wxWidgets.git] / src / generic / progdlgg.cpp
index 8e8eb329c782869da05a83d21516a01ef6153cdf..3c962a0f2e57920a1519adb0880e5c50f9718888 100644 (file)
@@ -635,8 +635,7 @@ void wxProgressDialog::ReenableOtherWindows()
 {
     if ( HasFlag(wxPD_APP_MODAL) )
     {
-        delete m_winDisabler;
-        m_winDisabler = NULL;
+        wxDELETE(m_winDisabler);
     }
     else
     {