]> git.saurik.com Git - wxWidgets.git/commitdiff
documented new CaptureMouse() behaviour
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jan 2002 21:45:58 +0000 (21:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jan 2002 21:45:58 +0000 (21:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/window.tex

index a4fceac35d8062eadf7217df4abfbaf34321f784..22eeb905eec4ab6591e5f1ed8c39e6a6ce20cccd 100644 (file)
@@ -127,6 +127,12 @@ functions so should not be required by the application programmer.
 Directs all mouse input to this window. Call \helpref{wxWindow::ReleaseMouse}{wxwindowreleasemouse} to
 release the capture.
 
+Note that wxWindows maintains the stack of windows having captured the mouse
+and when the mouse is released the capture returns to the window which had had
+captured it previously and it is only really released if there were no previous
+window. In particular, this means that you must release the mouse as many times
+as you capture it.
+
 \wxheading{See also}
 
 \helpref{wxWindow::ReleaseMouse}{wxwindowreleasemouse}