Hi all,
Issue :
Traceback (most recent call last):
- File “C:\Users\Data\Desktop\TEST\Customized text\source\sample_one\sample_one.py”, line 72, in OnPaint*
- dc2 = wx.BufferedPaintDC(self.parent)*
wx._core.wxAssertionError: C++ assertion ““m_window”” failed at …\src\msw\dcclient.cpp(240) in wxClientDCImpl::DoGetSize(): wxClientDCImpl without a window?
_ The attached source code (or link) works correctly with py3.7 / 3.8 and wxPython 4.06 / 4.07 (Windows, Linux and Mac OS).
_ After wxPython 4.1.0 setup, the code doesn’t work. What to do ?
Source : sample.py (4.3 KB)
or
Link :
Customized text (Phoenix) - wxPyWiki
Thank you in advance.