]> git.saurik.com Git - wxWidgets.git/commitdiff
corrections for compilation under Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 24 Jun 2003 20:00:40 +0000 (20:00 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 24 Jun 2003 20:00:40 +0000 (20:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/db/dbtest.cpp
samples/db/dbtest.h
samples/db/listdb.h

index def03f519a91c013cf92c523888de46186365559..38345aacb443d0c191340f144ffcdab3b47e6342 100644 (file)
@@ -35,7 +35,7 @@
 #include  "wx/wx.h"
 #endif //WX_PRECOMP
 
-#if defined(__WXGTK__) || defined(__WXX11__)
+#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMAC__)
 #include "db.xpm"
 #endif
 
index e7b5749c84cd013106ec9f1e2fe01952365d806e..eb5b691081f0829cd0a884f4a23992f9016c2e47 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "dbtest.h"
 #endif
 
index e85b4da17a99e8a01a5681d5186618341a6f1ea2..dbd943b365836fa1b3ab62c0d1ab6625a2677d3c 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "listdb.h"
 #endif