]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
check for self-assignment in operator=
[wxWidgets.git] / src / msw / dialog.cpp
index c7baa0359ce37bf8b3ff19df32e861ff0f200555..1f9459d57d3d024d33ae6e14721f142bf6bdcb06 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "wx/msw/private.h"
 #include "wx/evtloop.h"
-#include "wx/ptr_scpd.h"
+#include "wx/scopedptr.h"
 
 #if defined(__SMARTPHONE__) && defined(__WXWINCE__)
     #include "wx/msw/wince/resources.h"
@@ -192,8 +192,6 @@ bool wxDialog::Create(wxWindow *parent,
 
 wxDialog::~wxDialog()
 {
-    m_isBeingDeleted = true;
-
     // this will also reenable all the other windows for a modal dialog
     Show(false);