CaptureMouse on macosx

You double-clicked. On Windows, a double-click comes in as two "button up" messages and a "double click" message.

The code needs to double-check in OnMouseUp to make sure it actually captured.

···

On Mon, 14 Feb 2005 22:39:26 +0530, danielle@davout.org" <danielle@davout.org> wrote:

under windows Xp, it seems to work and suddenly ..

release
motion
release
Traceback (most recent call last):
  File "C:\PythonRen\projet3\Script1.py", line 20, in OnMouseUp
    s.GetTopWindow().ReleaseMouse()
  File "C:\Python23\Lib\site-packages\wx\_core.py", line 6769, in ReleaseMouse
    return _core_.Window_ReleaseMouse(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "GetCapture() == this" failed in ..\..\src\common\wincmn.cpp(2318): attempt to release mouse, but this window hasn't captured it
motion
mo

--
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.