]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fswatcher_inotify.cpp
Implement SetShape() for wxPopupWindow in wxGTK.
[wxWidgets.git] / src / unix / fswatcher_inotify.cpp
index edb3c52765a4bba4f830e5b997667732e0b05254..6c27e5c0f2336975528a905e5fc6f9e32ebad1ae 100644 (file)
@@ -91,8 +91,7 @@ public:
         wxCHECK_RET( IsOk(),
                     "Inotify not initialized or invalid inotify descriptor" );
 
-        delete m_source;
-        m_source = NULL;
+        wxDELETE(m_source);
 
         if ( close(m_ifd) != 0 )
         {