]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/event/event.cpp
update libpng-dev deps.
[wxWidgets.git] / samples / event / event.cpp
index 380cdd17bd1c995463f5f78815a0b6a684977cf2..beeaad030d2b0570d96f33d7165982e19620da97 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     // DO NOT use event.cpp here, it breaks statics initialization in
     // src/common/event.cpp and nothing works at all then!
     #pragma implementation "eventsample.cpp"
     // DO NOT use event.cpp here, it breaks statics initialization in
     // src/common/event.cpp and nothing works at all then!
     #pragma implementation "eventsample.cpp"