Skip to content

exception on grid labels click in 4.1.1a #1841

@mprosperi

Description

@mprosperi

Operating system: win 10
wxPython version & source: wxPython-4.1.1a1.dev5032+4402d875-cp37-cp37m-win_amd64
Python version & source: 3.7, stock

Description of the problem:

In my app is systematic to get the following exception with a single click on a grid column label while in the demo GridDragable.py you should repeatedly click with left and right mouse button on a label to get it.


Traceback (most recent call last):
File "c:\users\user1\envs\af4137\lib\site-packages\wx\lib\gridmovers.py", line 327, in OnPress
self.lwin.CaptureMouse()
wx._core.wxAssertionError: C++ assertion "!wxMouseCapture::IsInCaptureStack(this)" failed at ....\src\common\wincmn.cpp(3326) in wxWindowBase::CaptureMouse(): Recapturing the mouse in the same window?

The problem doesn't occur with wxpython4.1.0
Could it eventually be related to this?
wxWidgets/wxWidgets@408ebfd

Is an exception that could be avoided with changes in gridmovers code?

Marco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions