]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/minimal.cpp
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / samples / minimal / minimal.cpp
index 289e639e7ea7c49237ef73c6dd4054973826d1d4..a78e462908be84bf2a6acba019340414f7ff813c 100644 (file)
@@ -36,7 +36,7 @@
 
 // the application icon (under Windows and OS/2 it is in resources and even
 // though we could still include the XPM here it would be unused)
 
 // the application icon (under Windows and OS/2 it is in resources and even
 // though we could still include the XPM here it would be unused)
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
     #include "../sample.xpm"
 #endif