]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fdrepdlg.cpp
Initialize all fields of struct tm used by wxDateTime::Format().
[wxWidgets.git] / src / msw / fdrepdlg.cpp
index 78b7f27dc274d9d481de9c97101607cae283ea71..ac23bf1d957e783b7f9f6f6e658de4c43cc6fe5f 100644 (file)
@@ -443,8 +443,7 @@ bool wxFindReplaceDialog::Show(bool show)
         wxLogError(_("Failed to create the standard find/replace dialog (error code %d)"),
                    ::CommDlgExtendedError());
 
-        delete m_impl;
-        m_impl = NULL;
+        wxDELETE(m_impl);
 
         return false;
     }