X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2889677e28f1c9207b1f191f754c94b2d99e40dc..4818141bb228bbb59df63de12a5ea31801314b57:/include/wx/db.h?ds=sidebyside diff --git a/include/wx/db.h b/include/wx/db.h index 8c05a2aae3..827e35cdbc 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -26,19 +26,15 @@ #define _WX_DB_H_ -// BJO 20000503: introduce new GetColumns members which are more database independant and +// BJO 20000503: introduce new GetColumns members which are more database independent and // return columns in the order they were created #define OLD_GETCOLUMNS 1 #define EXPERIMENTAL_WXDB_FUNCTIONS 1 -#include "wx/version.h" - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "db.h" #endif -#include "wx/setup.h" - #include "wx/defs.h" #include "wx/string.h" @@ -81,7 +77,11 @@ #include "wx/isqlext.h" // Not available in v2.x of iODBC #ifndef __WXMSW__ - typedef wxChar SQLTCHAR; + #if wxUSE_UNICODE + typedef wxChar SQLTCHAR; + #else + typedef UCHAR SQLTCHAR; + #endif #endif #else #include