X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f6c54eb076d760cbb6fb15e899f15fbbd575850..1d95f44a12db710e2af587346811fca8591b2b3e:/samples/db/dbtest.h diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index d20fd3d9b5..eb5b691081 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -9,12 +9,12 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dbtest.h" #endif -#include -#include +#include "wx/string.h" +#include "wx/dbtable.h" enum DialogModes {mView,mCreate,mEdit,mSearch}; @@ -42,7 +42,7 @@ enum DialogModes {mView,mCreate,mEdit,mSearch}; const wxChar CONTACT_TABLE_NAME[] = "contacts"; -#define wxODBC_BLOB_EXPERIMENT 0 +#define wxODBC_BLOB_EXPERIMENT 1 // Number of columns in the CONTACT table #if wxODBC_BLOB_EXPERIMENT > 0