]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/render/render.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / render / render.cpp
index db50a5663b456fd821e3ec9acd1f7031ba3a4fce..49e35fc1fb675174825f5d6f5d17789d96011412 100644 (file)
@@ -47,7 +47,7 @@
 // ----------------------------------------------------------------------------
 
 // the application icon (under Windows and OS/2 it is in resources)
-#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) || defined(__WXX11__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif