]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbgrid.cpp
Fix for using std streams when std:: conflicts with ::
[wxWidgets.git] / src / common / dbgrid.cpp
index af7ae488dc5a896883bfbe871e65a87c2a90d905..d1e4b6ed4b3c949ee3ba64859398e414ecf544cd 100644 (file)
@@ -276,7 +276,7 @@ wxString wxDbGridTableBase::GetTypeName(int WXUNUSED(row), int col)
             switch(m_data->GetColDefs()[(m_ColInfo[col].DbCol)].SqlCtype)
             {
                 case SQL_C_CHAR:
-#ifndef __UNIX__
+#ifdef SQL_C_WCHAR
                 case SQL_C_WCHAR:
 #endif                 
                     return wxGRID_VALUE_STRING;