diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index a4fceac35d..22eeb905ee 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -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}