]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/icon.cpp
added default ctor for wxDirDialog
[wxWidgets.git] / src / msw / icon.cpp
index 0c2187db94c2f03f995c0a6a929630a189494bae..1ca4dafb129be16e2bdb6d1973a025c95bedcfb8 100644 (file)
 void wxIconRefData::Free()
 {
     if ( m_hIcon )
+    {
         ::DestroyIcon((HICON) m_hIcon);
+
+        m_hIcon = 0;
+    }
 }
 
 // ----------------------------------------------------------------------------