]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/private/overlay.h
fixing 10.5 only compiles
[wxWidgets.git] / include / wx / private / overlay.h
index c38ed99036521b13e1ea31d8ef9a9b930d20c68e..06c5c641bc274fe6e1973275721ef4d2afd3c6ec 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/overlay.h"
 
-#if wxHAS_NATIVE_OVERLAY
+#ifdef wxHAS_NATIVE_OVERLAY
 
 #if defined(__WXMAC__)
     #include "wx/mac/carbon/private/overlay.h"
@@ -27,7 +27,8 @@
 #else // !wxHAS_NATIVE_OVERLAY
 
 #include "wx/bitmap.h"
-#include "wx/window.h"
+
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 // generic implementation of wxOverlay
 class wxOverlayImpl