]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fixes
authorJulian Smart <julian@anthemion.co.uk>
Tue, 24 Oct 2006 16:02:38 +0000 (16:02 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 24 Oct 2006 16:02:38 +0000 (16:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/private/overlay.h
src/common/overlaycmn.cpp

index 9c70479f7d41ff3bc56a4153d3d6f89680044b43..c38ed99036521b13e1ea31d8ef9a9b930d20c68e 100644 (file)
@@ -27,6 +27,7 @@
 #else // !wxHAS_NATIVE_OVERLAY
 
 #include "wx/bitmap.h"
+#include "wx/window.h"
 
 // generic implementation of wxOverlay
 class wxOverlayImpl
index b9c57f4fb3e8e3d4947952e24b66e0fa7138ce61..3936c87c107cf9da05a21cdd97fa6164789656a1 100644 (file)
@@ -45,7 +45,7 @@ wxOverlay::wxOverlay()
 
 wxOverlay::~wxOverlay()
 {
-    m_impl;
+    delete m_impl;
 }
 
 bool wxOverlay::IsOk()