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

PyProgress is broken in demo #1985

Closed
Correct-Syntax opened this issue Jul 11, 2021 · 1 comment · Fixed by #2003
Closed

PyProgress is broken in demo #1985

Correct-Syntax opened this issue Jul 11, 2021 · 1 comment · Fixed by #2003

Comments

@Correct-Syntax
Copy link

Operating system: Windows 10, 64-bit
wxPython version & source: wxpython extras wheel, 4.1.1
Python version & source: python 3.9, from python.org

Description of the problem:

In the wxpython demo, the pyprogress is broken with the below error:

Error message (click to expand)
Traceback (most recent call last):
  File "agw\PyProgress.py", line 107, in OnStartProgress
    dlg = PP.PyProgress(None, -1, "PyProgress Example",
  File "C:\Python39\lib\site-packages\wx\lib\agw\pyprogress.py", line 495, in __init__
    buttonSizer.Add(self._btnAbort, 0, sizerFlags, LAYOUT_MARGIN)
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_RIGHT)" failed at ..\..\src\common\sizer.cpp(2168) in wxBoxSizer::DoInsert(): Horizontal alignment flags are ignored in horizontal sizers
@swt2c
Copy link
Collaborator

swt2c commented Aug 21, 2021

Thanks, PR submitted.

stahta01 pushed a commit to stahta01/wxPythonPhoenix that referenced this issue Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants