Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 1999-11-06 17:50:34 +00:00
parent 56dc1ffd50
commit 9695185a70
7 changed files with 44 additions and 6 deletions

View File

@ -114,6 +114,7 @@
* Use iODBC * Use iODBC
*/ */
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
/* /*
* Use Threads * Use Threads
*/ */

View File

@ -114,6 +114,7 @@
* Use iODBC * Use iODBC
*/ */
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
/* /*
* Use Threads * Use Threads
*/ */

View File

@ -116,8 +116,18 @@
#define wxUSE_C_MAIN 0 #define wxUSE_C_MAIN 0
// Set to 1 to use main.c instead of main.cpp (UNIX only) // Set to 1 to use main.c instead of main.cpp (UNIX only)
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#define wxUSE_IOSTREAMH 0 #define wxUSE_IOSTREAMH 0
// VC++ 4.2 and above allows <iostream> and <iostream.h> // VC++ 4.2 and above allows <iostream> and <iostream.h>

View File

@ -77,6 +77,7 @@
* Use iODBC * Use iODBC
*/ */
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
/* /*
* Use Threads * Use Threads
*/ */

View File

@ -173,6 +173,14 @@
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#ifndef __MWERKS__ #ifndef __MWERKS__
#define wxUSE_IOSTREAMH 1 #define wxUSE_IOSTREAMH 1
#else #else

View File

@ -166,8 +166,16 @@
// Set this to 0 if your compiler can't cope // Set this to 0 if your compiler can't cope
// with omission of prototype parameters. // with omission of prototype parameters.
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#define wxUSE_IOSTREAMH 1 #define wxUSE_IOSTREAMH 1
// VC++ 4.2 and above allows <iostream> and <iostream.h> // VC++ 4.2 and above allows <iostream> and <iostream.h>

View File

@ -99,8 +99,17 @@
#define wxUSE_C_MAIN 0 #define wxUSE_C_MAIN 0
// Set to 1 to use main.c instead of main.cpp (UNIX only) // Set to 1 to use main.c instead of main.cpp (UNIX only)
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#define wxUSE_IOSTREAMH 1 #define wxUSE_IOSTREAMH 1
// VC++ 4.2 and above allows <iostream> and <iostream.h> // VC++ 4.2 and above allows <iostream> and <iostream.h>