Applied patch #514037 from Paul Gammans to remove unneeded code in wxDbGridTableBase::CanSetValueAs()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2002-02-07 14:44:44 +00:00
parent df744f4d6d
commit 56e00fbc6e

View File

@@ -368,14 +368,6 @@ bool wxDbGridTableBase::CanGetValueAs(int row, int col, const wxString& typeName
bool wxDbGridTableBase::CanSetValueAs(int row, int col, const wxString& typeName)
{
//Is this needed? As will be validated on SetValueAsXXXX
ValidateRow(row);
if (m_data->IsColNull(m_ColInfo[col].DbCol))
{
return FALSE;
}
if (typeName == wxGRID_VALUE_STRING)
{
//FIXME ummm What about blob field etc.