Skip to content

LogNull context manager not working in 4.0? #1842

@cbeytas

Description

@cbeytas

wxPython 4.0.7 in Windows 7/10 with Python 3.8

The Context Manager for wx.LogNull doesn't seem to be working. This used to work in wxPython 2.x/3.x

with wx.LogNull():
    image = wx.Image(image_path)

Now it throws AttributeError: __exit__

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