From 8465910c79b8e746e04fd581cca2d60399e569b9 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:07 -0500 Subject: Second Life viewer sources 1.18.3.2-RC --- linden/indra/llui/lluictrl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linden/indra/llui/lluictrl.h') diff --git a/linden/indra/llui/lluictrl.h b/linden/indra/llui/lluictrl.h index 2060a0d..455a8c0 100644 --- a/linden/indra/llui/lluictrl.h +++ b/linden/indra/llui/lluictrl.h @@ -149,7 +149,9 @@ public: }; // Returns TRUE if the user has modified this control. Editable controls should override this. - virtual BOOL isDirty() { return FALSE; }; + virtual BOOL isDirty() const { return FALSE; }; + // Clear the dirty state + virtual void resetDirty() {}; protected: virtual void onFocusReceived(); -- cgit v1.1