Removed property editor validation failure assertions when implicitly clearing selection. Added relevant notes into documentation of member functions that previously asserted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -200,9 +200,18 @@ public:
|
||||
*/
|
||||
virtual void Clear() = 0;
|
||||
|
||||
/** Deselect current selection, if any. Returns true if success
|
||||
(ie. validator did not intercept). */
|
||||
bool ClearSelection();
|
||||
/**
|
||||
Clears current selection, if any.
|
||||
|
||||
@param validation
|
||||
If set to @false, deselecting the property will always work,
|
||||
even if its editor had invalid value in it.
|
||||
|
||||
@return Returns @true if successful or if there was no selection. May
|
||||
fail if validation was enabled and active editor had invalid
|
||||
value.
|
||||
*/
|
||||
bool ClearSelection( bool validation = false);
|
||||
|
||||
/** Resets modified status of all properties.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user