]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ipc/server.cpp
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / samples / ipc / server.cpp
index 26b09f67915a286bfddc0e55e3d7031325f52fa3..47b2d62ee6d15680cc576b207af09e84d74269ef 100644 (file)
@@ -32,7 +32,7 @@
 // we're using TCP/IP or real DDE.
 #include "ipcsetup.h"
 
 // we're using TCP/IP or real DDE.
 #include "ipcsetup.h"
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
     #include "../sample.xpm"
 #endif