]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/odbc.h
const added to GetBitmap it was my fault.
[wxWidgets.git] / include / wx / odbc.h
index 0f6756adcca9bf2382fa908d2e617010a0e3cb95..5a3b3899a4c6d167c7f9b6578060c5d57398c497 100644 (file)
 
 #if USE_ODBC
 
-#ifndef __ODBCH__
-#define __ODBCH__
+#ifdef __GNUG__
+#pragma interface "odbc.h"
+#endif
+
+#ifndef _WX_ODBCH__
+#define _WX_ODBCH__
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
 #include <windows.h>
 #endif
 
+#ifdef __WXGTK__
+extern "C" {
+#include <../iodbc/postgres/isqlext.h>
+#include <../iodbc/postgres/odbc_funcs.h>
+#include <../iodbc/postgres/odbc_types.h>
+}
+#else
 #include <sqlext.h>
+#endif
 
 #include "wx/defs.h"
 #include "wx/list.h"