From 95bfd022cf6f8501eaf2c10fd67dd26909940f10 Mon Sep 17 00:00:00 2001
From: Ilya Lysenkov <no@email>
Date: Wed, 8 Jun 2011 13:32:51 +0000
Subject: [PATCH] Fixed createButton brief doc (ticket #785)

---
 modules/highgui/doc/qt_new_functions.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/highgui/doc/qt_new_functions.rst b/modules/highgui/doc/qt_new_functions.rst
index ef649185d..8ba8eb6b8 100644
--- a/modules/highgui/doc/qt_new_functions.rst
+++ b/modules/highgui/doc/qt_new_functions.rst
@@ -309,7 +309,7 @@ createButton
 
 .. cpp:function:: createButton( const string& button_name CV_DEFAULT(NULL),ButtonCallback on_change CV_DEFAULT(NULL), void* userdata CV_DEFAULT(NULL), int button_type CV_DEFAULT(CV_PUSH_BUTTON), int initial_button_state CV_DEFAULT(0))
 
-    Creates a callback function called to draw OpenGL on top of the image display by ``windowname`` .
+    Attaches a button to the control panel.
 
     :param  button_name: Name of the button.