]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbtable.cpp
Use gtk_init_check instead of gtk_init so that we can racefully exit
[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;
             }