]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbgrid.cpp
don't set focus to a hidden notebook (patch 1299005)
[wxWidgets.git] / src / common / dbgrid.cpp
index af7ae488dc5a896883bfbe871e65a87c2a90d905..127a31ba24f737f1b7b8f9c1973ee5cae07c8cfd 100644 (file)
 // Branched From : dbgrid.cpp,v 1.18 2000/12/19 13:00:58
 ///////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dbgrid.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -276,7 +272,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;