* iODBC defines (ext)
*
* The iODBC driver manager.
- *
- * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
+ *
+ * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#ifndef _ISQLEXT_H
# define _ISQLEXT_H
-#include "isql.h"
+#include "wx/isql.h"
/*
* Generic constants
/*
* Level 2 function prototypes
*/
-RETCODE SQL_API SQLBrowseConnect (HDBC hdbc,
- UCHAR FAR * szConnStrIn, SWORD cbConnStrIn, UCHAR FAR * szConnStrOut,
+RETCODE SQL_API SQLBrowseConnect (HDBC hdbc,
+ UCHAR FAR * szConnStrIn, SWORD cbConnStrIn, UCHAR FAR * szConnStrOut,
SWORD cbConnStrOutMax, SWORD FAR * pcbConnStrOut);
RETCODE SQL_API SQLColumnPrivileges (HSTMT hstmt,
UCHAR FAR * szTableQualifier, SWORD cbTableQualifier,
// Set this to 0 if your compiler can't cope
// with omission of prototype parameters.
-#define wxUSE_ODBC 0
+#define wxUSE_ODBC 1
// Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
/* Sockets send events, too */
const wxEventType wxEVT_SOCKET = wxEVT_FIRST + 50;
+const wxEventType wxEVT_TIMER = wxEVT_FIRST + 80;
/* Mouse event types */
const wxEventType wxEVT_LEFT_DOWN = wxEVT_FIRST + 100;
SYSTEMTIME st;
::GetLocalTime(&st);
return (val + st.wMilliseconds);
+#elif defined(__VISAGECPP__)
+ DATETIME dt;
+ ::DosGetDateTime(&dt);
+ return (val + dt.hundredths*10);
#elif defined(HAVE_GETTIMEOFDAY)
struct timeval tp;
if ( wxGetTimeOfDay(&tp, (struct timezone *)NULL) != -1 )