X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30c841c84dce46690499567141b98ffcf5a61b6a..69659fd770f615210efac4b4fa741b3ad6223616:/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() {