]> 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 a811441fbf157b594eb49f64788f442129ec8f82..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"
@@ -28,7 +28,7 @@
 
 #include "wx/bitmap.h"
 
-class WXDLLIMPEXP_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 // generic implementation of wxOverlay
 class wxOverlayImpl