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)); }