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.", "");
+release the mouse as many times as you capture it, unless the window
+receives the `wx.MouseCaptureLostEvent` event.
+
+Any application which captures the mouse in the beginning of some
+operation *must* handle `wx.MouseCaptureLostEvent` and cancel this
+operation when it receives the event. The event handler must not
+recapture mouse.", "");
DocDeclStr(
void , ReleaseMouse(),
The base class version returns false, but this method is overridden in
wxControl where it returns true.", "");
+
+
+ DocDeclStr(
+ virtual bool , CanSetTransparent(),
+ "Returns ``True`` if the platform supports setting the transparency for
+this window. Note that this method will err on the side of caution,
+so it is possible that this will return ``False`` when it is in fact
+possible to set the transparency.
+
+NOTE: On X-windows systems the X server must have the composite
+extension loaded, and there must be a composite manager program (such
+as xcompmgr) running.", "");
+
+ DocDeclStr(
+ virtual bool , SetTransparent(byte alpha),
+ "Attempt to set the transparency of this window to the ``alpha`` value,
+returns True on success. The ``alpha`` value is an integer in the
+range of 0 to 255, where 0 is fully transparent and 255 is fully
+opaque.", "");
+
%pythoncode {