Rename wxDataViewEvent::SetEditCanceled() and remove its argument

This method should be only used when the edit is really cancelled, so it
doesn't need to take a boolean argument.

It should also use the same spelling as IsEditCancelled() (and for
consistency with the rest of wxWidgets API which uses British English).

Also remove this method from the documentation, it is not part of the
public API.
This commit is contained in:
Vadim Zeitlin
2018-02-04 22:31:23 +01:00
parent 77231f5907
commit 7e3d28e79f
3 changed files with 3 additions and 3 deletions

View File

@@ -3818,7 +3818,6 @@ public:
*/
wxDataViewItem GetItem() const;
void SetItem( const wxDataViewItem &item );
void SetEditCanceled(bool editCancelled);
void SetPosition( int x, int y );
void SetCache(int from, int to);
wxDataObject *GetDataObject() const;