From 78ce938eb8d3c9bca866802151ed2fc6da2bf945 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 24 Oct 2006 16:02:38 +0000 Subject: [PATCH] Compile fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/private/overlay.h | 1 + src/common/overlaycmn.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/private/overlay.h b/include/wx/private/overlay.h index 9c70479f7d..c38ed99036 100644 --- a/include/wx/private/overlay.h +++ b/include/wx/private/overlay.h @@ -27,6 +27,7 @@ #else // !wxHAS_NATIVE_OVERLAY #include "wx/bitmap.h" +#include "wx/window.h" // generic implementation of wxOverlay class wxOverlayImpl diff --git a/src/common/overlaycmn.cpp b/src/common/overlaycmn.cpp index b9c57f4fb3..3936c87c10 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()