Added SQL_WVARCHAR and SQL_WCHAR to the data types that the sample checks to see if they are supported by the datasource when the DATATYPES button is pressed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 2004-12-28 22:27:45 +00:00
parent 12ef813cea
commit fcf3321f44

View File

@ -616,6 +616,22 @@ void CheckSupportForAllDataTypes(wxDb *pDb)
wxLogMessage(nativeDataTypeName);
}
#endif
#ifdef SQL_WVARCHAR
if (DataTypeSupported(pDb,SQL_WVARCHAR, &nativeDataTypeName))
{
nativeDataTypeName = wxT("SQL_WVARCHAR (") + nativeDataTypeName;
nativeDataTypeName += wxT(")\n");
wxLogMessage(nativeDataTypeName);
}
#endif
#ifdef SQL_WCHAR
if (DataTypeSupported(pDb,SQL_WCHAR, &nativeDataTypeName))
{
nativeDataTypeName = wxT("SQL_WCHAR (") + nativeDataTypeName;
nativeDataTypeName += wxT(")\n");
wxLogMessage(nativeDataTypeName);
}
#endif
wxLogMessage(wxT("Done\n"));
} // CheckSupportForAllDataTypes()