]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/propgrid/property.h
add support for wxStrnlen for those platforms where it's available
[wxWidgets.git] / include / wx / propgrid / property.h
index d30565932630d9ace4a3311ff55e825354982763..176db3d61ee0e0c1af93e891659222d32772cbb6 100644 (file)
@@ -1423,6 +1423,15 @@ public:
     */
     virtual wxPGEditorDialogAdapter* GetEditorDialog() const;
 
+    /**
+        Called whenever validation has failed with given pending value.
+
+        @remarks If you implement this in your custom property class, please
+                 remember to call the baser implementation as well, since they
+                 may use it to revert property into pre-change state.
+    */
+    virtual void OnValidationFailure( wxVariant& pendingValue );
+
     /** Append a new choice to property's list of choices.
     */
     int AddChoice( const wxString& label, int value = wxPG_INVALID_VALUE )