Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wx mouse capture assertion undocking/moving AUI pane after dialog #21

Open
GoogleCodeExporter opened this issue Jan 9, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open rad2py, load ej_wsfev1.py
2. Debug step-by-step from pyafipws import WSAA
3. A dialog will be raiced (see issue #20)
4. "PSP Defect log" pane will be raised (docked)
5. Try to undock/move "PSP Defect log" pane
6. Exception will raise

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/agw/aui/framemanager.py", line 9014, in OnLeftDown
    rootManager.OnGripperClicked(part.pane.window, event.GetPosition(), offset)
  File "/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/agw/aui/framemanager.py", line 8610, in OnGripperClicked
    self._frame.CaptureMouse()
  File "/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 10641, in CaptureMouse
    return _core_.Window_CaptureMouse(*args, **kwargs)
PyAssertionError: C++ assertion "!wxMouseCapture::IsInCaptureStack(this)" 
failed at ../src/common/wincmn.cpp(3271) in CaptureMouse(): Recapturing the 
mouse in the same window?


Using wxPython 3.0.0 (compiled against wxWidgets 3.0.0 dev ubuntu 14.04 package)

Original issue reported on code.google.com by reingart@gmail.com on 19 Jun 2014 at 5:31

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant