Document _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChanged and ItemChanged. Remove other _MODEL_XXX events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -179,6 +179,9 @@ to the data.
|
||||
|
||||
Call this to inform the model that an item has changed.
|
||||
|
||||
This will eventually emit a wxEVT\_DATAVIEW\_ITEM\_VALUE\_CHANGED
|
||||
event (in which the column fields will not be set) to the user.
|
||||
|
||||
\membersection{wxDataViewModel::ItemsAdded}\label{wxdataviewmodelitemsadded}
|
||||
|
||||
\func{virtual bool}{ItemsAdded}{\param{const wxDataViewItem\& }{parent}, \param{const wxDataViewItemArray\& }{items}}
|
||||
@@ -192,6 +195,9 @@ to the data.
|
||||
|
||||
Call this to inform the model that several items have changed.
|
||||
|
||||
This will eventually emit wxEVT\_DATAVIEW\_ITEM\_VALUE\_CHANGED
|
||||
events (in which the column fields will not be set) to the user.
|
||||
|
||||
\membersection{wxDataViewModel::ItemsDeleted}\label{wxdataviewmodelitemsdeleted}
|
||||
|
||||
\func{virtual bool}{ItemsDeleted}{\param{const wxDataViewItem\& }{parent}, \param{const wxDataViewItemArray\& }{items}}
|
||||
@@ -225,6 +231,11 @@ has to be called!
|
||||
|
||||
\func{virtual bool}{ValueChanged}{\param{const wxDataViewItem\& }{item}, \param{unsigned int }{col}}
|
||||
|
||||
Call this to inform this model that a value in
|
||||
the model has been changed.
|
||||
Call this to inform this model that a value in the model has
|
||||
been changed. This is also called from wxDataViewCtrl's
|
||||
internal editing code, e.g. when editing a text field
|
||||
in the control.
|
||||
|
||||
This will eventually emit a wxEVT\_DATAVIEW\_ITEM\_VALUE\_CHANGED
|
||||
event to the user.
|
||||
|
||||
|
Reference in New Issue
Block a user