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:
@@ -368,14 +368,6 @@ bool wxDbGridTableBase::CanGetValueAs(int row, int col, const wxString& typeName
|
|||||||
|
|
||||||
bool wxDbGridTableBase::CanSetValueAs(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)
|
if (typeName == wxGRID_VALUE_STRING)
|
||||||
{
|
{
|
||||||
//FIXME ummm What about blob field etc.
|
//FIXME ummm What about blob field etc.
|
||||||
|
Reference in New Issue
Block a user