X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f21b2fd89d02837dfd0d195f8ff0f3f5640af017..70fb935a6a52fd27b288f4885c55cddf038b89f1:/samples/db/dbtest.h diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index 4e19c5a3db..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 @@ -187,14 +187,14 @@ DECLARE_EVENT_TABLE() class DbGridFrame : public wxFrame { public: - bool initialized; + bool initialized; - DbGridFrame(wxWindow *parent); + DbGridFrame(wxWindow *parent); - void OnCloseWindow(wxCloseEvent& event); - bool Initialize(); + void OnCloseWindow(wxCloseEvent& event); + bool Initialize(); - DECLARE_EVENT_TABLE() + DECLARE_EVENT_TABLE() }; #endif