X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8058a09e5147657342e02e50cf471d7b751abc1..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/variant.h?ds=sidebyside diff --git a/include/wx/variant.h b/include/wx/variant.h index 31fbbc8acb..89cb6c437d 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -26,10 +26,6 @@ #include "wx/datetime.h" #endif // wxUSE_DATETIME -#if wxUSE_ODBC - #include "wx/db.h" // will #include sqltypes.h -#endif //ODBC - #include "wx/iosfwrap.h" /* @@ -202,19 +198,9 @@ public: // wxDateTime #if wxUSE_DATETIME wxVariant(const wxDateTime& val, const wxString& name = wxEmptyString); -#if wxUSE_ODBC - wxVariant(const DATE_STRUCT* valptr, const wxString& name = wxEmptyString); - wxVariant(const TIME_STRUCT* valptr, const wxString& name = wxEmptyString); - wxVariant(const TIMESTAMP_STRUCT* valptr, const wxString& name = wxEmptyString); -#endif bool operator== (const wxDateTime& value) const; bool operator!= (const wxDateTime& value) const; void operator= (const wxDateTime& value) ; -#if wxUSE_ODBC - void operator= (const DATE_STRUCT* value) ; - void operator= (const TIME_STRUCT* value) ; - void operator= (const TIMESTAMP_STRUCT* value) ; -#endif inline operator wxDateTime () const { return GetDateTime(); } wxDateTime GetDateTime() const; #endif