]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/bombs/bombs.cpp
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / demos / bombs / bombs.cpp
index 387941b0e4f6c901c3d6466ba8b1d92e406dcccf..2c756fcff3fb8847a1e4eaf66ada5350bab634d8 100644 (file)
@@ -29,8 +29,7 @@
 #   include <time.h>
 #endif
 
 #   include <time.h>
 #endif
 
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) \
-    || defined(__WXMAC__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
 #   include "bombs.xpm"
 #endif
 
 #   include "bombs.xpm"
 #endif