]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/overlaycmn.cpp
Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
[wxWidgets.git] / src / common / overlaycmn.cpp
index b9c57f4fb3e8e3d4947952e24b66e0fa7138ce61..d25a45d77f85d1eea61e179661999dc17ccc9205 100644 (file)
@@ -45,7 +45,7 @@ wxOverlay::wxOverlay()
 
 wxOverlay::~wxOverlay()
 {
-    m_impl;
+    delete m_impl;
 }
 
 bool wxOverlay::IsOk()
@@ -125,7 +125,7 @@ void wxDCOverlay::Clear()
 // generic implementation of wxOverlayImpl
 // ----------------------------------------------------------------------------
 
-#if !wxHAS_NATIVE_OVERLAY
+#ifndef wxHAS_NATIVE_OVERLAY
 
 wxOverlayImpl::wxOverlayImpl()
 {