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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user