X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bda698ed193ccc86f3077f92c0ccaad1b4f33267..9330ded5ddbf86a22dbd90c6ef0f3ed2f5f211b0:/include/wx/dataview.h diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 5437a4dc0c..c9b931d44c 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -1021,15 +1021,20 @@ public: { GetStore()->DeleteAllItems(); } void SetValue( const wxVariant &value, unsigned int row, unsigned int col ) - { GetStore()->SetValueByRow( value, row, col ); } + { GetStore()->SetValueByRow( value, row, col ); + GetStore()->RowValueChanged( row, col); } + void GetValue( wxVariant &value, unsigned int row, unsigned int col ) + { GetStore()->GetValueByRow( value, row, col ); } void SetTextValue( const wxString &value, unsigned int row, unsigned int col ) - { GetStore()->SetValueByRow( value, row, col ); } + { GetStore()->SetValueByRow( value, row, col ); + GetStore()->RowValueChanged( row, col); } wxString GetTextValue( unsigned int row, unsigned int col ) const { wxVariant value; GetStore()->GetValueByRow( value, row, col ); return value.GetString(); } void SetToggleValue( bool value, unsigned int row, unsigned int col ) - { GetStore()->SetValueByRow( value, row, col ); } + { GetStore()->SetValueByRow( value, row, col ); + GetStore()->RowValueChanged( row, col); } bool GetToggleValue( unsigned int row, unsigned int col ) const { wxVariant value; GetStore()->GetValueByRow( value, row, col ); return value.GetBool(); }