X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30c841c84dce46690499567141b98ffcf5a61b6a..1e510b1e2d0270caf227c3fc0cf34ae2e7dd6794:/src/common/overlaycmn.cpp?ds=sidebyside diff --git a/src/common/overlaycmn.cpp b/src/common/overlaycmn.cpp index b9c57f4fb3..d25a45d77f 100644 --- a/src/common/overlaycmn.cpp +++ b/src/common/overlaycmn.cpp @@ -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() {