X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2115c88f381b95cf6d423a5d3128ccbe20c4fa1..0cdf89abb10990c7f0152aabc464425a5478157f:/include/wx/db.h diff --git a/include/wx/db.h b/include/wx/db.h index 979f566ae7..c624086c26 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -53,7 +53,7 @@ #include #endif -#ifdef _IODBC_ +#ifdef __UNIX__ #if wxMAJOR_VERSION == 2 extern "C" { #include "../../src/iodbc/isql.h" @@ -429,6 +429,7 @@ struct DbList #if __WXDEBUG__ > 0 +#include "wx/object.h" class CstructTablesInUse : public wxObject { public: @@ -442,7 +443,7 @@ class CstructTablesInUse : public wxObject // for other code segments to use, or close all of them when the application has // completed. -wxDB* WXDLLEXPORT GetDbConnection(DbStuff *pDbStuff); +wxDB WXDLLEXPORT *GetDbConnection(DbStuff *pDbStuff); bool WXDLLEXPORT FreeDbConnection(wxDB *pDb); void WXDLLEXPORT CloseDbConnections(void); int WXDLLEXPORT NumberDbConnectionsInUse(void);