From: Gilles Depeyrot Date: Tue, 24 Jun 2003 20:00:40 +0000 (+0000) Subject: corrections for compilation under Mac OS X X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/52ad8c7da73df9e8114fb5b3980ee0e82c1401aa?ds=sidebyside corrections for compilation under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/db/dbtest.cpp b/samples/db/dbtest.cpp index def03f519a..38345aacb4 100644 --- a/samples/db/dbtest.cpp +++ b/samples/db/dbtest.cpp @@ -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 diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index e7b5749c84..eb5b691081 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dbtest.h" #endif diff --git a/samples/db/listdb.h b/samples/db/listdb.h index e85b4da17a..dbd943b365 100644 --- a/samples/db/listdb.h +++ b/samples/db/listdb.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listdb.h" #endif