Fix compilo on Unix using src/iodbc which has no SQL_C_WCHAR

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-12-02 09:42:03 +00:00
parent ff3d9a3532
commit 5c2cd0f67a
2 changed files with 6 additions and 0 deletions

View File

@@ -276,7 +276,9 @@ wxString wxDbGridTableBase::GetTypeName(int WXUNUSED(row), int col)
switch(m_data->GetColDefs()[(m_ColInfo[col].DbCol)].SqlCtype)
{
case SQL_C_CHAR:
#ifndef __UNIX__
case SQL_C_WCHAR:
#endif
return wxGRID_VALUE_STRING;
case SQL_C_SHORT:
case SQL_C_SSHORT: