From: George Tasker Date: Mon, 8 Nov 1999 13:46:18 +0000 (+0000) Subject: Replaced an old ifndef FWD_ONLY_CURSORS with the new wxODBC_FWD_ONLY_CURSORS setup... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5e84fc5a820a15a1ce2d32d2ae71f0bf92abda3d Replaced an old ifndef FWD_ONLY_CURSORS with the new wxODBC_FWD_ONLY_CURSORS setup.h define git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dbtable.h b/include/wx/dbtable.h index 71ef8d2e7d..14acecbeb2 100644 --- a/include/wx/dbtable.h +++ b/include/wx/dbtable.h @@ -157,7 +157,7 @@ public: bool QueryOnKeyFields(bool forUpdate = FALSE, bool distinct = FALSE); bool GetNext(void) { return(getRec(SQL_FETCH_NEXT)); } bool operator++(int) { return(getRec(SQL_FETCH_NEXT)); } -#ifndef FWD_ONLY_CURSORS +#if !wxODBC_FWD_ONLY_CURSORS bool GetPrev(void) { return(getRec(SQL_FETCH_PRIOR)); } bool operator--(int) { return(getRec(SQL_FETCH_PRIOR)); } bool GetFirst(void) { return(getRec(SQL_FETCH_FIRST)); }