]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbgrid.cpp
set background style to wxBG_STYLE_COLOUR in SetBackgroundColour()
[wxWidgets.git] / src / common / dbgrid.cpp
index c413ed46919d49ec1dc85b1545e5bacbe822feab..bdb5aa196a9486cfc4a4fcdeb724b54df5635d4d 100644 (file)
@@ -276,11 +276,14 @@ wxString wxDbGridTableBase::GetTypeName(int WXUNUSED(row), int col)
             switch(m_data->GetColDefs()[(m_ColInfo[col].DbCol)].SqlCtype)
             {
                 case SQL_C_CHAR:
+                case SQL_C_WCHAR:
                     return wxGRID_VALUE_STRING;
+                case SQL_C_SHORT:
                 case SQL_C_SSHORT:
                     return wxGRID_VALUE_NUMBER;
                 case SQL_C_USHORT:
                     return wxGRID_VALUE_NUMBER;
+                case SQL_C_LONG:
                 case SQL_C_SLONG:
                     return wxGRID_VALUE_NUMBER;
                 case SQL_C_ULONG: