wxUSE_NEW_GRID changed to wxUSE_GRID to reflect changes in wxWidgets.
[wxWidgets.git] / src / common / dbtable.cpp
index 5db3049439001d54cc8473ef61efa1867325b18e..60d1821805ffd2f3a2ee3712604d945e49a47eaa 100644 (file)
@@ -1326,7 +1326,7 @@ void wxDbTable::BuildWhereClause(wxString &pWhereClause, int typeOfWhere,
                         wxString strMsg;
                         strMsg.Printf(wxT("wxDbTable::bindParams(): Unknown column type for colDefs %d colName %s"),
                                     colNo,colDefs[colNo].ColName);
-                        wxFAIL_MSG(wxT(strMsg));
+                        wxFAIL_MSG(strMsg.c_str());
                     }
                     break;
             }