]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/private/overlay.h
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load...
[wxWidgets.git] / include / wx / private / overlay.h
index a811441fbf157b594eb49f64788f442129ec8f82..71b265014fdaa256e539b0ca4eb65a748903a0d3 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"