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:
parent
56dc1ffd50
commit
9695185a70
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -119,6 +119,16 @@
|
|||||||
#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>
|
||||||
// but you can't mix them. Set to 1 for <iostream.h>,
|
// but you can't mix them. Set to 1 for <iostream.h>,
|
||||||
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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
|
||||||
|
@ -169,6 +169,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
|
||||||
|
|
||||||
#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>
|
||||||
// but you can't mix them. Set to 1 for <iostream.h>,
|
// but you can't mix them. Set to 1 for <iostream.h>,
|
||||||
|
@ -102,6 +102,15 @@
|
|||||||
#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>
|
||||||
// but you can't mix them. Set to 1 for <iostream.h>,
|
// but you can't mix them. Set to 1 for <iostream.h>,
|
||||||
|
Loading…
Reference in New Issue
Block a user