From 37b0a61b42b77422f7795a9ea01970220c80e9aa Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 23 Jan 2010 19:30:53 +0000 Subject: [PATCH] (svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default' --- src/window_gui.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/window_gui.h b/src/window_gui.h index eb2a6ac7f7..dccabc09a5 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -719,8 +719,9 @@ public: /** * The query window opened from this window has closed. - * @param str the new value of the string or NULL if the window - * was cancelled. + * @param str the new value of the string, NULL if the window + * was cancelled or an empty string when the default + * button was pressed, i.e. StrEmpty(str). */ virtual void OnQueryTextFinished(char *str) {}