From: George Tasker Date: Thu, 7 Feb 2002 14:44:44 +0000 (+0000) Subject: Applied patch #514037 from Paul Gammans to remove unneeded code in wxDbGridTableBase... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/56e00fbc6eaa03bb5f81ebacce112deb3b2dfa0f 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 --- diff --git a/src/common/dbgrid.cpp b/src/common/dbgrid.cpp index 713592835d..83e673a918 100644 --- a/src/common/dbgrid.cpp +++ b/src/common/dbgrid.cpp @@ -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.